public class StatsRunner extends InstantGroupRunnable
target
actions, allowToChange, removeElementAfterAction
headTask, nextTask, previousTask
Constructor and Description |
---|
StatsRunner() |
Modifier and Type | Method and Description |
---|---|
boolean |
addElement(Object obj)
Adds an element to this InstantRunnable.
|
void |
doGroupAction(Object obj)
The function to be run on the objects when there is time.
|
long |
getRunPeriod()
Returns the run period of this InstantRunnable.
|
run
isEmpty, removeElement, reset
cancel, getHeadTask, isScheduled, next, previous, scheduledExecutionTime, setHeadTask, setNext, setPrevious
public boolean addElement(Object obj)
InstantRunnable
addElement
in interface TaskRunnable
addElement
in class InstantRunnable
obj
- Element to be added to this InstantRunnablepublic long getRunPeriod()
InstantRunnable
getRunPeriod
in interface TaskRunnable
getRunPeriod
in class InstantRunnable
public void doGroupAction(Object obj)
InstantGroupRunnable
doGroupAction
in interface ScheduleableGroupAction
doGroupAction
in class InstantGroupRunnable
obj
- The object the function act onCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.