diff --git a/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicInteger.java b/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicInteger.java
index 79e5b523e..ca33798ba 100644
--- a/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicInteger.java
+++ b/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicInteger.java
@@ -87,43 +87,6 @@ public class RedisAtomicInteger extends Number implements Serializable, BoundKey
}
}
- /**
- * Constructs a new RedisAtomicInteger instance. Uses as initial value
- * the data from the backing store (sets the counter to 0 if no value is found).
- *
- * Use {@link #RedisAtomicInteger(String, RedisOperations, int)} to set the counter to a certain value
- * as an alternative constructor or {@link #set(int)}.
- *
- * Note that integers need to be properly serialized so that Redis can recognized the values as numeric and thus modify their value.
- *
- * @param redisCounter
- * @param operations
- */
- public RedisAtomicInteger(String redisCounter, RedisOperations operations) {
- this.key = redisCounter;
- this.operations = operations.opsForValue();
- this.generalOps = operations;
- if (this.operations.get(redisCounter) == null) {
- set(0);
- }
- }
-
- /**
- * Constructs a new RedisAtomicInteger instance with the given initial value.
- *
- * Note that integers need to be properly serialized so that Redis can recognized the values as numeric and thus modify their value.
- *
- * @param redisCounter
- * @param operations
- * @param initialValue
- */
- public RedisAtomicInteger(String redisCounter, RedisOperations operations, int initialValue) {
- this.key = redisCounter;
- this.operations = operations.opsForValue();
- this.generalOps = operations;
- this.operations.set(redisCounter, initialValue);
- }
-
/**
* Get the current value.
*
diff --git a/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicLong.java b/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicLong.java
index 9da634b3e..36502c489 100644
--- a/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicLong.java
+++ b/spring-data-redis/src/main/java/org/springframework/data/keyvalue/redis/support/atomic/RedisAtomicLong.java
@@ -87,42 +87,6 @@ public class RedisAtomicLong extends Number implements Serializable, BoundKeyOpe
}
}
- /**
- * Constructs a new RedisAtomicLong instance. Uses as initial value
- * the data from the backing store (sets the counter to 0 if no value is found).
- *
- * Use {@link #RedisAtomicLong(String, RedisOperations, long)} to set the counter to a certain value
- * as an alternative constructor or {@link #set(long)}.
- *
- * Note that longs need to be properly serialized so that Redis can recognized the values as numeric and thus modify their value.
- *
- * @param redisCounter
- * @param operations
- */
- public RedisAtomicLong(String redisCounter, RedisOperations operations) {
- this.key = redisCounter;
- this.operations = operations.opsForValue();
- this.generalOps = operations;
- if (this.operations.get(redisCounter) == null) {
- set(0);
- }
- }
-
- /**
- * Constructs a new RedisAtomicLong instance with the given initial value.
- *
- * Note that longs need to be properly serialized so that Redis can recognized the values as numeric and thus modify their value.
- *
- * @param redisCounter
- * @param operations
- * @param initialValue
- */
- public RedisAtomicLong(String redisCounter, RedisOperations operations, long initialValue) {
- this.key = redisCounter;
- this.operations = operations.opsForValue();
- this.operations.set(redisCounter, initialValue);
- }
-
/**
* Gets the current value.
*