@NotThreadSafe public final class ProxyMasterSync extends java.lang.Object implements HeartbeatExecutor
| Constructor and Description |
|---|
ProxyMasterSync(Address address,
MasterClientContext context,
long startTimeMs)
Creates a new instance of
ProxyMasterSync. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
heartbeat(long timeLimitMs)
Heartbeats to the primary master node.
|
public ProxyMasterSync(Address address, MasterClientContext context, long startTimeMs)
ProxyMasterSync.address - the proxy addresscontext - the communication contextstartTimeMs - start time of this instancepublic void heartbeat(long timeLimitMs)
heartbeat in interface HeartbeatExecutorpublic void close()
close in interface HeartbeatExecutorclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2024. All Rights Reserved.