public class RunnableTimerTask extends RecoverableTimerTask
Modifier and Type | Field and Description |
---|---|
protected Runnable |
target |
recoverable
Constructor and Description |
---|
RunnableTimerTask(Runnable target)
Constructor of RunnableTimerTask
|
Modifier and Type | Method and Description |
---|---|
Runnable |
getRunnable()
Returns the runnable interface from this RunnableTimerTask
|
void |
run()
The run method with error handling and recovery.
|
void |
setRunnable(Runnable target)
Assigns the runnable interface to this RunnableTimerTask
|
setRecoverable
cancel, scheduledExecutionTime
protected Runnable target
public RunnableTimerTask(Runnable target)
target
- The runnable interface to be runpublic void setRunnable(Runnable target)
target
- The runnable to assignpublic Runnable getRunnable()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.