@NotThreadSafe public final class UpdateChecker extends Object implements HeartbeatExecutor
Constructor and Description |
---|
UpdateChecker(DefaultMetaMaster metaMaster)
Creates a new instance of
UpdateChecker . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any resources used by the heartbeat executor.
|
void |
heartbeat()
Heartbeat for the periodically update check.
|
public UpdateChecker(DefaultMetaMaster metaMaster)
UpdateChecker
.metaMaster
- the meta masterpublic void heartbeat()
heartbeat
in interface HeartbeatExecutor
public void close()
HeartbeatExecutor
close
in interface HeartbeatExecutor
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.