public class PartitionReplicaManager extends Object
Modifier and Type | Method and Description |
---|---|
void |
cancelReplicaSync(int partitionId) |
void |
clearPartitionReplicaVersions(int partitionId) |
void |
clearReplicaSyncRequest(int partitionId,
int replicaIndex) |
void |
finalizeReplicaSync(int partitionId,
int replicaIndex,
long[] versions) |
long[] |
getPartitionReplicaVersions(int partitionId) |
void |
releaseReplicaSyncPermit() |
void |
setPartitionReplicaVersions(int partitionId,
long[] versions,
int replicaOffset) |
void |
triggerPartitionReplicaSync(int partitionId,
int replicaIndex,
long delayMillis) |
boolean |
tryToAcquireReplicaSyncPermit() |
public void triggerPartitionReplicaSync(int partitionId, int replicaIndex, long delayMillis)
public long[] getPartitionReplicaVersions(int partitionId)
public void setPartitionReplicaVersions(int partitionId, long[] versions, int replicaOffset)
public void clearPartitionReplicaVersions(int partitionId)
public void finalizeReplicaSync(int partitionId, int replicaIndex, long[] versions)
public void clearReplicaSyncRequest(int partitionId, int replicaIndex)
public void cancelReplicaSync(int partitionId)
public boolean tryToAcquireReplicaSyncPermit()
public void releaseReplicaSyncPermit()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.