Modifier and Type | Field and Description |
---|---|
protected boolean |
fixedDelay |
protected long |
fixedDelaySeconds |
protected ScheduledFuture |
future |
protected boolean |
running |
Constructor and Description |
---|
SchedulerTask() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
abstract void |
execute() |
static String |
formatTime(long millis) |
abstract String |
getDescription() |
Date |
getFireDate() |
long |
getFixedDelaySeconds() |
abstract String |
getKey() |
long |
getMillisTimeToFire() |
boolean |
isCancelled() |
boolean |
isDone() |
boolean |
isFixedDelay() |
boolean |
isMisfired() |
boolean |
isRunning() |
String |
printTimeToFire() |
void |
run() |
void |
setFixedDelaySeconds(long fixedDelaySeconds) |
String |
toString() |
protected ScheduledFuture future
protected boolean running
protected boolean fixedDelay
protected long fixedDelaySeconds
public abstract String getKey()
public abstract String getDescription()
public abstract void execute()
public boolean isRunning()
public boolean isFixedDelay()
public long getFixedDelaySeconds()
public void setFixedDelaySeconds(long fixedDelaySeconds)
public boolean isCancelled()
public boolean isDone()
public boolean isMisfired()
public void cancel()
public String printTimeToFire()
public long getMillisTimeToFire()
public Date getFireDate()
public static String formatTime(long millis)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.