public interface TransactionVisibilityState
Modifier and Type | Method and Description |
---|---|
NavigableMap<Long,TransactionManager.InProgressTx> |
getInProgress()
Returns the map of write pointers to in-progress transactions at the time of the snapshot.
|
Collection<Long> |
getInvalid()
Returns the list of invalid write pointers at the time of the snapshot.
|
long |
getReadPointer()
Returns the read pointer at the time of the snapshot.
|
long |
getTimestamp()
Returns the timestamp from when this snapshot was created.
|
long |
getVisibilityUpperBound() |
long |
getWritePointer()
Returns the next write pointer at the time of the snapshot.
|
long getTimestamp()
long getReadPointer()
long getWritePointer()
Collection<Long> getInvalid()
NavigableMap<Long,TransactionManager.InProgressTx> getInProgress()
long getVisibilityUpperBound()
X
such that any of the transactions newer than X
might be invisible to
some of the currently in-progress transactions or to those that will be started NOTE: the returned tx id can be invalid.
Copyright © 2016 The Apache Software Foundation. All rights reserved.