public interface ActionResult
Action which was produed by either an IntervalGenerator or
ActionScheduler| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAttachment()
Retrieve the attachment associated with this scheduled procedure
|
long |
getInterval(java.util.concurrent.TimeUnit timeUnit)
Retrieve the interval after which the action was executed.
|
java.lang.String |
getProcedure() |
java.lang.Object[] |
getProcedureParameters() |
org.voltdb.client.ClientResponse |
getResponse() |
ActionType |
getType() |
ActionType getType()
long getInterval(java.util.concurrent.TimeUnit timeUnit)
timeUnit - TimeUnit of interval returned by this methodtimeUnitjava.lang.String getProcedure()
null if the action was a ActionType.CALLBACKjava.lang.Object[] getProcedureParameters()
getProcedure()org.voltdb.client.ClientResponse getResponse()
ClientResponse from the execution of getProcedure(). Will be null if the action
was a ActionType.CALLBACK<T> T getAttachment()
throws java.lang.ClassCastException
T - Type of attachmentnull of there was no attachmentjava.lang.ClassCastException - If the attachment is not of type T