public class POSTCleanUpRunnable extends GeneralTaskRunnable
headTask, nextTask, previousTask
Constructor and Description |
---|
POSTCleanUpRunnable(long runPeriod,
Map map)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addElement(Object obj)
Adds an element to this TaskRunnable.
|
long |
getRunPeriod()
Returns the run period of this TaskRunnable.
|
boolean |
isEmpty()
Indicates whether this TaskRunnable is empty.
|
boolean |
removeElement(Object obj)
Removes an element from this TaskRunnable.
|
void |
run() |
cancel, getHeadTask, isScheduled, next, previous, scheduledExecutionTime, setHeadTask, setNext, setPrevious
public POSTCleanUpRunnable(long runPeriod, Map map)
runPeriod
- The period for the clean up to run.map
- the Map
to be cleaned up.public boolean addElement(Object obj)
TaskRunnable
obj
- Element to be added to this TaskRunnablepublic boolean removeElement(Object obj)
TaskRunnable
obj
- Element to be removed from this TaskRunnablepublic boolean isEmpty()
TaskRunnable
public long getRunPeriod()
TaskRunnable
public void run()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.