public interface ReplicationState
Modifier and Type | Interface and Description |
---|---|
static class |
ReplicationState.Mode
The different replication modes in which a partition replica can be in.
|
Modifier and Type | Method and Description |
---|---|
long |
getNextPushOffset()
The next offset from which to push for this partition replica.
|
int |
getPushSessionId()
The current push session ID for this partition replica or -1 if the replica is not currently
in
ReplicationState.Mode.PUSH . |
ReplicationState.Mode |
getReplicationMode()
The replication mode of this partition replica.
|
ReplicationState.Mode getReplicationMode()
long getNextPushOffset()
int getPushSessionId()
ReplicationState.Mode.PUSH
.