Package org.voltdb.task
Interface ActionResult
public interface ActionResult
The result of executing an 
Action which was produed by either an IntervalGenerator or
 ActionScheduler- 
Method SummaryModifier and TypeMethodDescription<T> TRetrieve the attachment associated with this scheduled procedurelonggetInterval(TimeUnit timeUnit) Retrieve the interval after which the action was executed.Object[]org.voltdb.client.ClientResponsegetType()
- 
Method Details- 
getTypeActionType getType()- Returns:
- The type of action which was performed
 
- 
getIntervalRetrieve the interval after which the action was executed.- Parameters:
- timeUnit-- TimeUnitof interval returned by this method
- Returns:
- Time interval in timeUnit
 
- 
getProcedureString getProcedure()- Returns:
- Name of procedure that was executed. Will be nullif the action was aActionType.CALLBACK
 
- 
getProcedureParametersObject[] getProcedureParameters()- Returns:
- A The parameters that were passed to the procedure returned by getProcedure()
 
- 
getResponseorg.voltdb.client.ClientResponse getResponse()- Returns:
- ClientResponsefrom the execution of- getProcedure(). Will be- nullif the action was a- ActionType.CALLBACK
 
- 
getAttachmentRetrieve the attachment associated with this scheduled procedure- Type Parameters:
- T- Type of attachment
- Returns:
- The attachment or nullof there was no attachment
- Throws:
- ClassCastException- If the attachment is not of type- T
 
 
-