public class HeartbeatImpl extends Object implements Heartbeat, SquirrelComponent
| Constructor and Description |
|---|
HeartbeatImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begins a new Heartbeat.
|
void |
defer(Runnable command)
Adds a new command to the current Heartbeat.
|
void |
execute()
Executes all commands since the most recent
Heartbeat.begin(). |
public void begin()
HeartbeatHeartbeat.execute().public void execute()
HeartbeatHeartbeat.begin().public void defer(Runnable command)
HeartbeatHeartbeat.execute().Copyright © 2013–2016. All rights reserved.