|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerServiceMBean
MBean interface for a simple service used to configure the periodic emition of notifications by a standard JMX Timer.
Timer
Field Summary |
---|
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
---|---|
boolean |
getFixedRate()
|
String |
getNotificationMessage()
|
String |
getNotificationType()
|
long |
getRepeatitions()
|
javax.management.ObjectName |
getTimerMBean()
|
String |
getTimerPeriod()
|
void |
setFixedRate(boolean fixedRate)
The execution mode, true==fixed-rate, false==fixed-delay (default) |
void |
setNotificationMessage(String message)
The message carried by the emitted notifications |
void |
setNotificationType(String type)
The type of the emitted notifications |
void |
setRepeatitions(long repeatitions)
Number of occurences |
void |
setTimerMBean(javax.management.ObjectName timerMBean)
The utilized TimerMBean |
void |
setTimerPeriod(String timerPeriod)
Timer period in milliseconds; accepts suffix modifiers e.g. |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Method Detail |
---|
void setNotificationType(String type)
String getNotificationType()
void setNotificationMessage(String message)
String getNotificationMessage()
void setTimerPeriod(String timerPeriod)
String getTimerPeriod()
void setRepeatitions(long repeatitions)
long getRepeatitions()
void setFixedRate(boolean fixedRate)
boolean getFixedRate()
void setTimerMBean(javax.management.ObjectName timerMBean)
javax.management.ObjectName getTimerMBean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |