public class ConcurrentValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
Config |
configParams |
| Constructor and Description |
|---|
ConcurrentValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquireLocksOnWriteSet(RWSetInfo rwSet) |
void |
releaseLock(RWSetInfo rwSet) |
long |
speculativeValidate(long startTS,
RWSetInfo rwSet,
HashSet<String> conflictSet) |
long |
syncValidate(long startTS,
RWSetInfo rwSet,
HashSet<String> conflictSet) |
void |
update(long cmtTS,
RWSetInfo rwSet) |
long |
validate(long startTS,
RWSetInfo rwSet,
HashSet<String> conflictSet) |
long |
validateAndUpdate(long startTS,
long cmtTS,
RWSetInfo rwSet,
HashSet<String> refetchSet) |
public Config configParams
public long speculativeValidate(long startTS,
RWSetInfo rwSet,
HashSet<String> conflictSet)
public boolean acquireLocksOnWriteSet(RWSetInfo rwSet)
public void releaseLock(RWSetInfo rwSet)
public void update(long cmtTS,
RWSetInfo rwSet)