public class HeartbeatImpl extends java.lang.Object implements Heartbeat
| Constructor and Description |
|---|
HeartbeatImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begins a new Heartbeat.
|
void |
defer(java.lang.Runnable command)
Adds a new command to the current Heartbeat.
|
void |
end()
Executes all commands since the most recent
Heartbeat.begin(). |
public HeartbeatImpl()
public void begin()
HeartbeatHeartbeat.end().public void defer(java.lang.Runnable command)
HeartbeatHeartbeat.end().defer in interface Heartbeatcommand - command to be executed at the end of the heartbeatHeartbeatDeferredpublic void end()
HeartbeatHeartbeat.begin().${project.version} - Copyright © 2003-2015 The Apache Software Foundation.