-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MSET and MSETNX * adding support for multi set compression * review comments
- Loading branch information
Showing
3 changed files
with
103 additions
and
33 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
dyno-core/src/main/java/com/netflix/dyno/connectionpool/MultiKeyCompressionOperation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.netflix.dyno.connectionpool; | ||
/** | ||
* | ||
* Interface to be used for multi key operations, i.e. | ||
* taking as input an vararg like String... | ||
* | ||
* | ||
* @author ipapapa | ||
* | ||
* @param <CL> | ||
* @param <R> | ||
*/ | ||
public interface MultiKeyCompressionOperation<CL, R> extends Operation<CL, R> { | ||
|
||
String[] compressMultiKeyValue(ConnectionContext ctx, String... value); | ||
|
||
String decompressValue(ConnectionContext ctx, String value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters