public interface TaskRunnable extends Runnable
Modifier and Type | Method and Description |
---|---|
boolean |
addElement(Object key)
Adds an element to this TaskRunnable.
|
void |
cancel()
Cancel the task from scheduled Timer.
|
HeadTaskRunnable |
getHeadTask()
Returns the head task for this linkable TaskRunnable.
|
long |
getRunPeriod()
Returns the run period of this TaskRunnable.
|
boolean |
isEmpty()
Indicates whether this TaskRunnable is empty.
|
TaskRunnable |
next()
Returns the TaskRunnable next to this TaskRunnable in the linked-list.
|
TaskRunnable |
previous()
Returns the TaskRunnable previous to this TaskRunnable in the
linked-list.
|
boolean |
removeElement(Object key)
Removes an element from this TaskRunnable.
|
long |
scheduledExecutionTime()
Returns the scheduled time of this TaskRunnable.
|
void |
setHeadTask(HeadTaskRunnable headTask)
Sets the head task for this linkable TaskRunnable.
|
void |
setNext(TaskRunnable task)
Sets the TaskRunnable next to this TaskRunnable in the linked-list.
|
void |
setPrevious(TaskRunnable task)
Sets the TaskRunnable previous to this TaskRunnable in the linked-list.
|
boolean addElement(Object key)
key
- Element to be added to this TaskRunnableboolean removeElement(Object key)
key
- Element to be removed from this TaskRunnableboolean isEmpty()
void setNext(TaskRunnable task)
task
- The next TaskRunnablevoid setPrevious(TaskRunnable task)
task
- The previous TaskRunnablevoid setHeadTask(HeadTaskRunnable headTask)
headTask
- The HeadTaskRunnableHeadTaskRunnable getHeadTask()
long getRunPeriod()
TaskRunnable next()
TaskRunnable previous()
long scheduledExecutionTime()
void cancel()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.