public interface Sequenced
Modifier and Type | Method and Description |
---|---|
int |
getPartitionId()
Returns partition ID which this sequence belongs to.
|
long |
getSequence()
Returns the sequence number.
|
void |
setSequence(long sequence)
Sets sequence.
|
long getSequence()
int getPartitionId()
void setSequence(long sequence)
sequence
- the sequence number to be set.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.