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 Type
    Method
    Description
    digest(String hex16)
    Configure digest comparison for conditional delete operations.
    value(V value)
    Configure value comparison for conditional delete operations.
  • Method Details

    • value

      DeleteSpec<K,V> value(V value)
      Configure value comparison for conditional delete operations.
      Parameters:
      value - the value to compare against.
      Returns:
      the previously used DeleteSpec.
    • digest

      DeleteSpec<K,V> digest(String hex16)
      Configure digest comparison for conditional delete operations.
      Parameters:
      hex16 - hex representation of the digest to compare against. Can be obtained through Redis' DIGEST command.
      Returns:
      the previously used DeleteSpec.