static java.lang.String |
ZkLedgerUnderreplicationManager.acquireUnderreplicatedLedgerLock(org.apache.zookeeper.ZooKeeper zkc,
java.lang.String zkLedgersRootPath,
long ledgerId,
java.util.List<org.apache.zookeeper.data.ACL> zkAcls) |
Acquire the underreplicated ledger lock.
|
void |
LedgerUnderreplicationManager.close() |
Release all resources held by the ledger underreplication manager.
|
void |
ZkLedgerUnderreplicationManager.close() |
|
void |
LedgerUnderreplicationManager.disableLedgerReplication() |
Stop ledger replication.
|
void |
ZkLedgerUnderreplicationManager.disableLedgerReplication() |
|
void |
LedgerUnderreplicationManager.enableLedgerReplication() |
Resuming ledger replication.
|
void |
ZkLedgerUnderreplicationManager.enableLedgerReplication() |
|
long |
LedgerUnderreplicationManager.getCheckAllLedgersCTime() |
Getter for the CheckAllLedgers last executed ctime.
|
long |
ZkLedgerUnderreplicationManager.getCheckAllLedgersCTime() |
|
long |
LedgerUnderreplicationManager.getLedgerToRereplicate() |
Acquire a underreplicated ledger for rereplication.
|
long |
NullMetadataBookieDriver.NullLedgerUnderreplicationManager.getLedgerToRereplicate() |
|
long |
ZkLedgerUnderreplicationManager.getLedgerToRereplicate() |
|
UnderreplicatedLedger |
LedgerUnderreplicationManager.getLedgerUnreplicationInfo(long ledgerId) |
Get the UnderreplicatedLedger info if this ledger is marked
underreplicated otherwise it returns null.
|
UnderreplicatedLedger |
NullMetadataBookieDriver.NullLedgerUnderreplicationManager.getLedgerUnreplicationInfo(long ledgerId) |
|
UnderreplicatedLedger |
ZkLedgerUnderreplicationManager.getLedgerUnreplicationInfo(long ledgerId) |
|
int |
LedgerUnderreplicationManager.getLostBookieRecoveryDelay() |
Getter for the lostBookieRecoveryDelay.
|
int |
ZkLedgerUnderreplicationManager.getLostBookieRecoveryDelay() |
|
long |
LedgerUnderreplicationManager.getPlacementPolicyCheckCTime() |
Getter for the PlacementPolicyCheck last executed ctime.
|
long |
ZkLedgerUnderreplicationManager.getPlacementPolicyCheckCTime() |
|
long |
LedgerUnderreplicationManager.getReplicasCheckCTime() |
Getter for the ReplicasCheck last executed ctime.
|
long |
ZkLedgerUnderreplicationManager.getReplicasCheckCTime() |
|
java.lang.String |
LedgerUnderreplicationManager.getReplicationWorkerIdRereplicatingLedger(long ledgerId) |
If a replicationworker has acquired lock on an underreplicated ledger,
then getReplicationWorkerIdRereplicatingLedger should return
ReplicationWorkerId (BookieId) of the ReplicationWorker that is holding
lock.
|
java.lang.String |
NullMetadataBookieDriver.NullLedgerUnderreplicationManager.getReplicationWorkerIdRereplicatingLedger(long ledgerId) |
|
java.lang.String |
ZkLedgerUnderreplicationManager.getReplicationWorkerIdRereplicatingLedger(long ledgerId) |
|
boolean |
LedgerUnderreplicationManager.initializeLostBookieRecoveryDelay(int lostBookieRecoveryDelay) |
Creates the zNode for lostBookieRecoveryDelay with the specified value and returns true.
|
boolean |
ZkLedgerUnderreplicationManager.initializeLostBookieRecoveryDelay(int lostBookieRecoveryDelay) |
|
boolean |
LedgerUnderreplicationManager.isLedgerReplicationEnabled() |
Check whether the ledger replication is enabled or not.
|
boolean |
ZkLedgerUnderreplicationManager.isLedgerReplicationEnabled() |
|
void |
LedgerUnderreplicationManager.markLedgerReplicated(long ledgerId) |
Mark a ledger as fully replicated.
|
void |
NullMetadataBookieDriver.NullLedgerUnderreplicationManager.markLedgerReplicated(long ledgerId) |
|
void |
ZkLedgerUnderreplicationManager.markLedgerReplicated(long ledgerId) |
|
LedgerUnderreplicationManager |
FlatLedgerManagerFactory.newLedgerUnderreplicationManager() |
Deprecated.
|
LedgerUnderreplicationManager |
LedgerManagerFactory.newLedgerUnderreplicationManager() |
Return a ledger underreplication manager, which is used to
mark ledgers as unreplicated, and to retrieve a ledger which
is underreplicated so that it can be rereplicated.
|
LedgerUnderreplicationManager |
LegacyHierarchicalLedgerManagerFactory.newLedgerUnderreplicationManager() |
|
LedgerUnderreplicationManager |
MSLedgerManagerFactory.newLedgerUnderreplicationManager() |
Deprecated.
|
void |
LedgerUnderreplicationManager.notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) |
Receive notification asynchronously when the ledger replication process
is enabled.
|
void |
ZkLedgerUnderreplicationManager.notifyLedgerReplicationEnabled(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) |
|
void |
LedgerUnderreplicationManager.notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) |
Receive notification asynchronously when the lostBookieRecoveryDelay value is Changed.
|
void |
ZkLedgerUnderreplicationManager.notifyLostBookieRecoveryDelayChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) |
|
default void |
LedgerUnderreplicationManager.notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) |
Deprecated.
|
void |
ZkLedgerUnderreplicationManager.notifyUnderReplicationLedgerChanged(BookkeeperInternalCallbacks.GenericCallback<java.lang.Void> cb) |
|
long |
LedgerUnderreplicationManager.pollLedgerToRereplicate() |
Poll for a underreplicated ledger to rereplicate.
|
long |
NullMetadataBookieDriver.NullLedgerUnderreplicationManager.pollLedgerToRereplicate() |
|
long |
ZkLedgerUnderreplicationManager.pollLedgerToRereplicate() |
|
void |
LedgerUnderreplicationManager.releaseUnderreplicatedLedger(long ledgerId) |
Release a previously acquired ledger.
|
void |
ZkLedgerUnderreplicationManager.releaseUnderreplicatedLedger(long ledgerId) |
|
void |
LedgerUnderreplicationManager.setCheckAllLedgersCTime(long checkAllLedgersCTime) |
Setter for the CheckAllLedgers last executed ctime.
|
void |
ZkLedgerUnderreplicationManager.setCheckAllLedgersCTime(long checkAllLedgersCTime) |
|
void |
LedgerUnderreplicationManager.setLostBookieRecoveryDelay(int lostBookieRecoveryDelay) |
Setter for the lostBookieRecoveryDelay znode.
|
void |
ZkLedgerUnderreplicationManager.setLostBookieRecoveryDelay(int lostBookieRecoveryDelay) |
|
void |
LedgerUnderreplicationManager.setPlacementPolicyCheckCTime(long placementPolicyCheckCTime) |
Setter for the PlacementPolicyCheck last executed ctime.
|
void |
ZkLedgerUnderreplicationManager.setPlacementPolicyCheckCTime(long placementPolicyCheckCTime) |
|
void |
LedgerUnderreplicationManager.setReplicasCheckCTime(long replicasCheckCTime) |
Setter for the ReplicasCheck last executed ctime.
|
void |
ZkLedgerUnderreplicationManager.setReplicasCheckCTime(long replicasCheckCTime) |
|