public class TokenCleanupRunnable extends GeneralTaskRunnable
headTask, nextTask, previousTask
Constructor and Description |
---|
TokenCleanupRunnable(long runPeriod)
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 TokenCleanupRunnable(long runPeriod)
runPeriod
- The period for the clean up to run.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.