public interface SequenceNumberRange
Modifier and Type | Interface and Description |
---|---|
static class |
SequenceNumberRange.GenericSequenceNumberRange |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(SequenceNumber sqn) |
SequenceNumber |
from()
Inclusive.
|
static SequenceNumberRange |
generic(SequenceNumber from,
SequenceNumber to) |
boolean |
isEmpty() |
long |
size() |
SequenceNumber |
to()
Exclusive.
|
SequenceNumber from()
SequenceNumber to()
long size()
boolean contains(SequenceNumber sqn)
static SequenceNumberRange generic(SequenceNumber from, SequenceNumber to)
from
- inclusiveto
- exclusiveCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.