@NotThreadSafe public class ActiveSyncer extends Object implements HeartbeatExecutor
Constructor and Description |
---|
ActiveSyncer(FileSystemMaster fileSystemMaster,
ActiveSyncManager syncManager,
MountTable mountTable,
long mountId)
Constructs a new
ActiveSyncer . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any resources used by the heartbeat executor.
|
void |
heartbeat()
Implements the heartbeat logic.
|
public ActiveSyncer(FileSystemMaster fileSystemMaster, ActiveSyncManager syncManager, MountTable mountTable, long mountId)
ActiveSyncer
.fileSystemMaster
- fileSystem mastersyncManager
- sync managermountTable
- mount tablemountId
- mount idpublic void heartbeat()
HeartbeatExecutor
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.