Class ReplicationEnableCb
java.lang.Object
org.apache.bookkeeper.replication.ReplicationEnableCb
- All Implemented Interfaces:
BookkeeperInternalCallbacks.GenericCallback<Void>
public class ReplicationEnableCb
extends Object
implements BookkeeperInternalCallbacks.GenericCallback<Void>
Callback which is getting notified when the replication process is enabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidawait()This is a blocking call and causes the current thread to wait until the replication process is enabled.voidoperationComplete(int rc, Void result)
-
Constructor Details
-
ReplicationEnableCb
public ReplicationEnableCb()
-
-
Method Details
-
operationComplete
- Specified by:
operationCompletein interfaceBookkeeperInternalCallbacks.GenericCallback<Void>
-
await
This is a blocking call and causes the current thread to wait until the replication process is enabled.- Throws:
InterruptedException- interrupted while waiting
-