public class SyncClientMgmt extends java.lang.Object implements ISyncClientMgmt, ProcessHandler
ISyncClientMgmt.SyncClientMgmtBuilder
ProcessHandler.BlockingHandler, ProcessHandler.NoOutBlockingHandler
Constructor and Description |
---|
SyncClientMgmt(io.vertx.core.Vertx vertx,
java.lang.String cyrusBackendAddress,
java.lang.String replicationChannel,
int shardIndex,
java.util.List<ISyncClientObserver> obs,
java.util.concurrent.Executor observersPool) |
Modifier and Type | Method and Description |
---|---|
void |
completed(int exitCode) |
void |
log(java.lang.String l,
boolean cont) |
void |
starting(java.lang.String taskRef) |
void |
startRollingReplication()
Starts, or restarts, rolling replication
|
void |
stopRollingReplication() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder
public SyncClientMgmt(io.vertx.core.Vertx vertx, java.lang.String cyrusBackendAddress, java.lang.String replicationChannel, int shardIndex, java.util.List<ISyncClientObserver> obs, java.util.concurrent.Executor observersPool)
public void startRollingReplication()
ISyncClientMgmt
startRollingReplication
in interface ISyncClientMgmt
public void stopRollingReplication()
stopRollingReplication
in interface ISyncClientMgmt
public void log(java.lang.String l, boolean cont)
log
in interface ProcessHandler
cont
- is true when the line was longer than our max frame size.
The received line did not end with a line-feed in the
original outputpublic void completed(int exitCode)
completed
in interface ProcessHandler
public void starting(java.lang.String taskRef)
starting
in interface ProcessHandler
Copyright © 2023. All Rights Reserved.