The task is run once every second and after all other periodic events.
A flush interval of Long.MAX_VALUE
means the event is disabled.
Modifier and Type | Field and Description |
---|---|
private volatile long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | execute(long timestamp, PeriodicType periodicType)
Implements abstract jdk.
|
protected long | |
public boolean | |
public void |
flushInterval | back to summary |
---|---|
private volatile long flushInterval |
FlushTask | back to summary |
---|---|
public FlushTask() |
execute | back to summary |
---|---|
public void execute(long timestamp, PeriodicType periodicType) Implements abstract jdk.
|
fetchPeriod | back to summary |
---|---|
protected long fetchPeriod() Implements abstract jdk.
|
isSchedulable | back to summary |
---|---|
public boolean isSchedulable() Implements abstract jdk.
|
setInterval | back to summary |
---|---|
public void setInterval(long millis) |