@ThreadSafe public final class ConfigHashSync extends java.lang.Object implements HeartbeatExecutor
| Constructor and Description |
|---|
ConfigHashSync(FileSystemContext context)
Constructs a new
ConfigHashSync. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.util.Optional<java.io.IOException> |
getException() |
void |
heartbeat() |
void |
resetMetaMasterConfigClient(MasterClientContext context)
Resets the internal meta master client based on the new configuration.
|
public ConfigHashSync(FileSystemContext context)
ConfigHashSync.context - the filesystem contextpublic void resetMetaMasterConfigClient(MasterClientContext context)
context - the context containing the new configurationpublic java.util.Optional<java.io.IOException> getException()
public void heartbeat()
heartbeat in interface HeartbeatExecutorpublic void close()
close in interface HeartbeatExecutorclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2022. All Rights Reserved.