File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
src/main/java/net/spy/memcached Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments