public abstract class ClockTask extends Object implements Runnable
private boolean
cancelled
private String
taskId
protected
ClockTask()
boolean
cancel()
String
getTaskId()
isCancelled()
void
run()
protected abstract void
runTask()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final String taskId
private volatile boolean cancelled
protected ClockTask()
public boolean isCancelled()
public boolean cancel()
public String getTaskId()
public void run()
run
Runnable
protected abstract void runTask()
Copyright © 2020. All rights reserved.