@ThreadSafe public static final class DefaultThrottleMaster.ThrottleExecutor extends Object implements HeartbeatExecutor
Constructor and Description |
---|
ThrottleExecutor(MasterProcess masterProcess)
Creates a new instance of
DefaultThrottleMaster.ThrottleExecutor . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleans up any resources used by the heartbeat executor.
|
void |
heartbeat()
Implements the heartbeat logic.
|
public ThrottleExecutor(MasterProcess masterProcess)
DefaultThrottleMaster.ThrottleExecutor
.masterProcess
- the Alluxio master processpublic void heartbeat() throws InterruptedException
HeartbeatExecutor
heartbeat
in interface HeartbeatExecutor
InterruptedException
- if the thread is interruptedpublic void close()
HeartbeatExecutor
close
in interface HeartbeatExecutor
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.