public class SequenceRangeAccumulator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SequenceRangeAccumulator.SequenceRangeAccumulatorCoder |
Constructor and Description |
---|
SequenceRangeAccumulator() |
Modifier and Type | Method and Description |
---|---|
void |
add(long sequence,
Instant timestamp,
boolean isInitialSequence) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
ContiguousSequenceRange |
largestContinuousRange() |
void |
merge(SequenceRangeAccumulator another) |
int |
numberOfRanges() |
java.lang.String |
toString() |
public void add(long sequence, Instant timestamp, boolean isInitialSequence)
public ContiguousSequenceRange largestContinuousRange()
public int numberOfRanges()
public void merge(SequenceRangeAccumulator another)
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object