javax.management.timer
3 classes of the module java.management.
Load them with:
using {
"javax.management.timer"
}
TimerMBean#
interface · javax.management.timer.TimerMBean
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addNotification | addNotification([type,message,userData,date])addNotification([ :type = v, :message = v, :userData = v, :date = v ])addNotification([type,message,userData,date,period])addNotification([ :type = v, :message = v, :userData = v, :date = v, :period = v ])addNotification([type,message,userData,date,period,nbOccurences])addNotification([ :type = v, :message = v, :userData = v, :date = v, :period = v, :nbOccurences = v ])addNotification([type,message,userData,date,period,nbOccurences,fixedRate])addNotification([ :type = v, :message = v, :userData = v, :date = v, :period = v, :nbOccurences = v, :fixedRate = v ]) | Integer addNotification(String type, String message, Object userData, Date date)Integer addNotification(String type, String message, Object userData, Date date, long period)Integer addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)Integer addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate) |
getAllNotificationIDs | getAllNotificationIDs() | Vector getAllNotificationIDs() |
getDate | getDate(id) | Date getDate(Integer id) |
getFixedRate | getFixedRate(id) | Boolean getFixedRate(Integer id) |
getNbNotifications | getNbNotifications() | int getNbNotifications() |
getNbOccurences | getNbOccurences(id) | Long getNbOccurences(Integer id) |
getNotificationIDs | getNotificationIDs(type) | Vector getNotificationIDs(String type) |
getNotificationMessage | getNotificationMessage(id) | String getNotificationMessage(Integer id) |
getNotificationType | getNotificationType(id) | String getNotificationType(Integer id) |
getNotificationUserData | getNotificationUserData(id) | Object getNotificationUserData(Integer id) |
getPeriod | getPeriod(id) | Long getPeriod(Integer id) |
getSendPastNotifications | getSendPastNotifications() | boolean getSendPastNotifications() |
isActive | isActive() | boolean isActive() |
isEmpty | isEmpty() | boolean isEmpty() |
removeAllNotifications | removeAllNotifications() | void removeAllNotifications() |
removeNotification | removeNotification(id) | void removeNotification(Integer id) |
removeNotifications | removeNotifications(type) | void removeNotifications(String type) |
setSendPastNotifications | setSendPastNotifications(value) | void setSendPastNotifications(boolean value) |
start | start() | void start() |
stop | stop() | void stop() |
TimerNotification#
class · extends Notification · javax.management.timer.TimerNotification
Constructors
new TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id) |
Ring: new TimerNotification(args) uses the constructor with the fewest parameters (at least one); new TimerNotification makes the object with the constructor without parameters; the others: (new TimerNotification).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getNotificationID | getNotificationID() | Integer getNotificationID() |
The methods and fields of Notification are inherited.
TimerTimer#
class · extends NotificationBroadcasterSupport · javax.management.timer.Timer
Implements: TimerMBean, MBeanRegistration
Constructors
new TimerTimer() |
Ring: new TimerTimer(args) uses the constructor with the fewest parameters (at least one); new TimerTimer makes the object with the constructor without parameters; the others: (new TimerTimer).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ONE_SECOND | long | constant · static | o.ONE_SECOND |
ONE_MINUTE | long | constant · static | o.ONE_MINUTE |
ONE_HOUR | long | constant · static | o.ONE_HOUR |
ONE_DAY | long | constant · static | o.ONE_DAY |
ONE_WEEK | long | constant · static | o.ONE_WEEK |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addNotification | addNotification([type,message,userData,date])addNotification([ :type = v, :message = v, :userData = v, :date = v ])addNotification([type,message,userData,date,period])addNotification([ :type = v, :message = v, :userData = v, :date = v, :period = v ])addNotification([type,message,userData,date,period,nbOccurences])addNotification([ :type = v, :message = v, :userData = v, :date = v, :period = v, :nbOccurences = v ])addNotification([type,message,userData,date,period,nbOccurences,fixedRate])addNotification([ :type = v, :message = v, :userData = v, :date = v, :period = v, :nbOccurences = v, :fixedRate = v ]) | Integer addNotification(String type, String message, Object userData, Date date)Integer addNotification(String type, String message, Object userData, Date date, long period)Integer addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)Integer addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate) |
getAllNotificationIDs | getAllNotificationIDs() | Vector getAllNotificationIDs() |
getDate | getDate(id) | Date getDate(Integer id) |
getFixedRate | getFixedRate(id) | Boolean getFixedRate(Integer id) |
getNbNotifications | getNbNotifications() | int getNbNotifications() |
getNbOccurences | getNbOccurences(id) | Long getNbOccurences(Integer id) |
getNotificationIDs | getNotificationIDs(type) | Vector getNotificationIDs(String type) |
getNotificationMessage | getNotificationMessage(id) | String getNotificationMessage(Integer id) |
getNotificationType | getNotificationType(id) | String getNotificationType(Integer id) |
getNotificationUserData | getNotificationUserData(id) | Object getNotificationUserData(Integer id) |
getPeriod | getPeriod(id) | Long getPeriod(Integer id) |
getSendPastNotifications | getSendPastNotifications() | boolean getSendPastNotifications() |
isActive | isActive() | boolean isActive() |
isEmpty | isEmpty() | boolean isEmpty() |
postDeregister | postDeregister() | void postDeregister() |
postRegister | postRegister(registrationDone) | void postRegister(Boolean registrationDone) |
preDeregister | preDeregister() | void preDeregister() |
preRegister | preRegister(server,name) | ObjectName preRegister(MBeanServer server, ObjectName name) |
removeAllNotifications | removeAllNotifications() | void removeAllNotifications() |
removeNotification | removeNotification(id) | void removeNotification(Integer id) |
removeNotifications | removeNotifications(type) | void removeNotifications(String type) |
setSendPastNotifications | setSendPastNotifications(value) | void setSendPastNotifications(boolean value) |
start | start() | void start() |
stop | stop() | void stop() |
The methods and fields of NotificationBroadcasterSupport are inherited.