@ThreadSafe public final class RecomputeExecutor extends Object implements HeartbeatExecutor
Constructor and Description |
---|
RecomputeExecutor(RecomputePlanner planner,
FileSystemMaster fileSystemMaster)
Creates a new instance of
RecomputeExecutor . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any resources used by the heartbeat executor.
|
void |
heartbeat()
Implements the heartbeat logic.
|
public RecomputeExecutor(RecomputePlanner planner, FileSystemMaster fileSystemMaster)
RecomputeExecutor
.planner
- recompute plannerfileSystemMaster
- the file system masterpublic 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.