Class PaxosRepairHistory
- java.lang.Object
-
- org.apache.cassandra.service.paxos.PaxosRepairHistory
-
public class PaxosRepairHistory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PaxosRepairHistory.Searcher
-
Field Summary
Fields Modifier and Type Field Description static PaxosRepairHistory
EMPTY
static IVersionedSerializer<PaxosRepairHistory>
serializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaxosRepairHistory
add(PaxosRepairHistory existing, java.util.Collection<Range<Token>> ranges, Ballot ballot)
Ballot
ballotForToken(Token token)
boolean
equals(java.lang.Object o)
static PaxosRepairHistory
fromTupleBufferList(java.util.List<java.nio.ByteBuffer> tuples)
int
hashCode()
Ballot
maxLowBound()
static PaxosRepairHistory
merge(PaxosRepairHistory historyLeft, PaxosRepairHistory historyRight)
PaxosRepairHistory.Searcher
searcher()
int
size()
java.lang.String
toString()
java.util.List<java.nio.ByteBuffer>
toTupleBufferList()
-
-
-
Field Detail
-
EMPTY
public static final PaxosRepairHistory EMPTY
-
serializer
public static final IVersionedSerializer<PaxosRepairHistory> serializer
-
-
Method Detail
-
maxLowBound
public Ballot maxLowBound()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
size
public int size()
-
searcher
public PaxosRepairHistory.Searcher searcher()
-
toTupleBufferList
public java.util.List<java.nio.ByteBuffer> toTupleBufferList()
-
fromTupleBufferList
public static PaxosRepairHistory fromTupleBufferList(java.util.List<java.nio.ByteBuffer> tuples)
-
merge
public static PaxosRepairHistory merge(PaxosRepairHistory historyLeft, PaxosRepairHistory historyRight)
-
add
public static PaxosRepairHistory add(PaxosRepairHistory existing, java.util.Collection<Range<Token>> ranges, Ballot ballot)
-
-