public class TimerConfig
extends java.lang.Object
The info object represents a serializable object made available to corresponding timer callbacks. It is optional and defaults to null.
The persistent property determines whether the corresponding timer has a lifetime that spans the JVM in which it was created. It is optional and defaults to true.
Modifier and Type | Field and Description |
---|---|
private java.io.Serializable |
info |
private boolean |
persistent |
Constructor and Description |
---|
TimerConfig() |
TimerConfig(java.io.Serializable info,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getInfo() |
boolean |
isPersistent() |
void |
setInfo(java.io.Serializable i) |
void |
setPersistent(boolean p) |