Interface CASMutation<T>


public interface CASMutation<T>
Defines a mutation mechanism for a high-level CAS client interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    getNewValue(T current)
    Get the new value to replace the current value.
  • Method Details

    • getNewValue

      T getNewValue(T current)
      Get the new value to replace the current value.
      Parameters:
      current - the current value in the cache
      Returns:
      the replacement value