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 © 2016 Hazelcast, Inc.. All Rights Reserved.