public interface CASRequest
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(ColumnFamily current)
Returns whether the provided CF, that represents the values fetched using the
readFilter(), match the CAS conditions this object stands for.
|
ColumnFamily |
makeUpdates(ColumnFamily current)
The updates to perform of a CAS success.
|
IDiskAtomFilter |
readFilter()
The filter to use to fetch the value to compare for the CAS.
|
IDiskAtomFilter readFilter()
boolean appliesTo(ColumnFamily current) throws InvalidRequestException
InvalidRequestException
ColumnFamily makeUpdates(ColumnFamily current) throws InvalidRequestException
InvalidRequestException
Copyright © 2017 The Apache Software Foundation