|
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||
Container for sheduled AsyncEvent's.
NOTE: this container is live, sheduled events will be added to
this container and executed events will be removed from container.
| Method Summary | |
int |
executeAllUntilEmpty()
Executes all events in this container. |
int |
executeByTimeOffset(long offsetMillis)
Executes all events having time offset less or equal to offsetMillis.
|
boolean |
executeNextEvent()
Executes event with least time offset. |
int |
executeTillLatestEventOffset()
Executes all events in this container. |
java.util.Iterator |
getEvents()
Returns iterator of AsyncEvents of this container. |
int |
size()
Returns number of events in this container. |
| Method Detail |
public java.util.Iterator getEvents()
AsyncEvents of this container.
AsyncEvents of this container.public int executeTillLatestEventOffset()
public int executeAllUntilEmpty()
public int executeByTimeOffset(long offsetMillis)
offsetMillis.
All other event's time offsets are reduced by offsetMillis.
offsetMillis - offset for events execution.
public boolean executeNextEvent()
public int size()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||