Skip to content

Commit c4df236

Browse files
committed
fix
1 parent 29988a2 commit c4df236

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

src/main/java/net/spy/memcached/ArcusClient.java

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3563,23 +3563,8 @@ public CollectionFuture<Integer> asyncBopGetItemCount(String key,
35633563
}
35643564

35653565
@Override
3566-
public CollectionFuture<Map<Object, Boolean>> asyncSopPipedExistBulk(String key,
3567-
List<Object> values) {
3568-
if (values.size() == 0) {
3569-
throw new IllegalArgumentException(
3570-
"The number of piped operations must be larger than 0.");
3571-
}
3572-
3573-
List<SetPipedExist<Object>> existList = new ArrayList<SetPipedExist<Object>>();
3574-
if (values.size() <= SetPipedExist.MAX_PIPED_ITEM_COUNT) {
3575-
existList.add(new SetPipedExist<Object>(key, values, collectionTranscoder));
3576-
} else {
3577-
PartitionedList<Object> partitionedList = new PartitionedList<Object>(values, SetPipedExist.MAX_PIPED_ITEM_COUNT);
3578-
for (List<Object> partition : partitionedList) {
3579-
existList.add(new SetPipedExist<Object>(key, partition, collectionTranscoder));
3580-
}
3581-
}
3582-
return asyncSetPipedExist(key, existList);
3566+
public CollectionFuture<Map<Object, Boolean>> asyncSopPipedExistBulk(String key, List<Object> values) {
3567+
return asyncSopPipedExistBulk(key, values, collectionTranscoder);
35833568
}
35843569

35853570
@Override

0 commit comments

Comments
 (0)