T - public class WaitAndRetryActionImpl<T> extends Object implements Action<T>
WaitAndRetryException| Constructor and Description |
|---|
WaitAndRetryActionImpl(int wait)
Constructor with a wait time expressed in milliseconds
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(T obj,
String event,
Object... args)
Called to execute an action based off a State Transition.
|
public WaitAndRetryActionImpl(int wait)
wait - time in millisecondspublic void execute(T obj, String event, Object... args) throws RetryException
Actionexecute in interface Action<T>obj - The Stateful Entityevent - The ocurring Eventargs - A set of optional arguments passed into the onEvent method of the FSMRetryException - thrown when the event must be retried due to Stale state or some other error conditionCopyright © 2016. All rights reserved.