public abstract class TimerTask
extends java.lang.Object
public TimerTask(long delayMs)
delayMs - the delay mspublic TimerTask(long delay,
java.util.concurrent.TimeUnit unit)
delay - the delayunit - the unitpublic void cancel()
public abstract void run(TaskEntity taskEntity)
taskEntity - the task entityCopyright © 2022 The Apache Software Foundation. All rights reserved.