public class TimerConfig
extends java.lang.Object
Constructor and Description |
---|
TimerConfig()
Constructs a new timer configuration.
|
TimerConfig(java.io.Serializable info,
boolean persistent)
Constructs a new timer configuration.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getInfo()
Gets info object associated with timer.
|
boolean |
isPersistent()
Indicates if timer should be persisted.
|
void |
setInfo(java.io.Serializable info)
Sets info object associated with timer.
|
void |
setPersistent(boolean persistent)
Sets if timer should be persisted.
|
public TimerConfig()
public TimerConfig(java.io.Serializable info, boolean persistent)
info
- Info object associated with the timer.persistent
- Indicates if a timer should be persisted.public java.io.Serializable getInfo()
public void setInfo(java.io.Serializable info)
info
- Info object associated with timer.public boolean isPersistent()
public void setPersistent(boolean persistent)
persistent
- Flag to indicate if timer should be persisted.