Interface DeleteSpec.ComparisonSpec<K,V>
- Type Parameters:
K- key type.V- value type.
- Enclosing interface:
DeleteSpec<K,V>
public static interface DeleteSpec.ComparisonSpec<K,V>
Steps to customize value or digest comparison for conditional delete operations.
- Since:
- 4.1
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionDeleteSpec<K, V> Configure digest comparison for conditional delete operations.DeleteSpec<K, V> Configure value comparison for conditional delete operations.
-
Method Details
-
value
Configure value comparison for conditional delete operations.- Parameters:
value- the value to compare against.- Returns:
- the previously used
DeleteSpec.
-
digest
Configure digest comparison for conditional delete operations.- Parameters:
hex16- hex representation of the digest to compare against. Can be obtained through Redis'DIGESTcommand.- Returns:
- the previously used
DeleteSpec.
-