tachyon
Class HeartbeatThread
java.lang.Object
tachyon.HeartbeatThread
- All Implemented Interfaces:
- Runnable
public class HeartbeatThread
- extends Object
- implements Runnable
Thread class to execute a heartbeat periodically.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeartbeatThread
public HeartbeatThread(String threadName,
HeartbeatExecutor hbExecutor,
int fixedExecutionIntervalMs)
- Parameters:
threadName
- hbExecutor
- fixedExecutionIntervalMs
- Sleep time between different heartbeat.
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2013. All Rights Reserved.