Class PaxosKeyState
java.lang.Object
org.apache.cassandra.service.paxos.uncommitted.PaxosKeyState
- All Implemented Interfaces:
UncommittedPaxosKey
-
Constructor Summary
ConstructorsConstructorDescriptionPaxosKeyState(TableId tableId, DecoratedKey key, Ballot ballot, boolean committed) -
Method Summary
Modifier and TypeMethodDescriptionballot()booleangetKey()inthashCode()static CloseableIterator<PaxosKeyState>mergeUncommitted(CloseableIterator<PaxosKeyState>... iterators) toString()static CloseableIterator<UncommittedPaxosKey>
-
Constructor Details
-
PaxosKeyState
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceUncommittedPaxosKey
-
getConsistencyLevel
- Specified by:
getConsistencyLevelin interfaceUncommittedPaxosKey
-
ballot
- Specified by:
ballotin interfaceUncommittedPaxosKey
-
equals
-
hashCode
public int hashCode() -
toString
-
mergeUncommitted
public static CloseableIterator<PaxosKeyState> mergeUncommitted(CloseableIterator<PaxosKeyState>... iterators) -
toUncommittedInfo
public static CloseableIterator<UncommittedPaxosKey> toUncommittedInfo(CloseableIterator<PaxosKeyState> iter)
-