public class ConcurrentValidatorWithTruncation extends Object
| Modifier and Type | Field and Description |
|---|---|
Config |
configParams |
ConcurrentHashMap<String,beehive.workpool.NodeRWLock> |
cTable |
List<ReentrantLock> |
cTableLockList |
ArrayList<Long> |
sortedActiveTSList |
long |
tts |
ReentrantLock |
ttsLock |
| Constructor and Description |
|---|
ConcurrentValidatorWithTruncation(TimestampManager timestampMgr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquireLocksOnWriteSet(RWSetInfo rwSet) |
void |
advanceTruncationTime() |
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 ConcurrentHashMap<String,beehive.workpool.NodeRWLock> cTable
public long tts
public ReentrantLock ttsLock
public List<ReentrantLock> cTableLockList
public Config configParams
public ConcurrentValidatorWithTruncation(TimestampManager timestampMgr)
public void advanceTruncationTime()
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)