public class TimerConfig extends 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.
Constructor and Description |
---|
TimerConfig() |
TimerConfig(Serializable info,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
Serializable |
getInfo() |
boolean |
isPersistent() |
void |
setInfo(Serializable i) |
void |
setPersistent(boolean p) |
public TimerConfig()
public TimerConfig(Serializable info, boolean persistent)
public Serializable getInfo()
public boolean isPersistent()
public void setInfo(Serializable i)
public void setPersistent(boolean p)
Copyright © 2019 JBoss by Red Hat. All rights reserved.