public interface Heartbeat
Environmental annotation.| 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 |
end()
Executes all commands since the most recent
begin(). |
void begin()
end().void defer(Runnable command)
end().command - command to be executed at the end of the heartbeatHeartbeatDeferred5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.