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