public final class BlockIntegrityChecker extends Object implements HeartbeatExecutor
Constructor and Description |
---|
BlockIntegrityChecker(FileSystemMaster fsm)
Constructs a block integrity checker based on the given
FileSystemMaster . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any resources used by the heartbeat executor.
|
void |
heartbeat()
Implements the heartbeat logic.
|
public BlockIntegrityChecker(FileSystemMaster fsm)
FileSystemMaster
.fsm
- the master to checkpublic 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.