RingJavafor Ring

javax.management.timer

3 classes of the module java.management.

Load them with:

using {
	"javax.management.timer"
}

All packages

TimerMBean#

interface · javax.management.timer.TimerMBean

Methods

MethodRing callJava overloads
addNotificationaddNotification([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)
getAllNotificationIDsgetAllNotificationIDs()Vector getAllNotificationIDs()
getDategetDate(id)Date getDate(Integer id)
getFixedRategetFixedRate(id)Boolean getFixedRate(Integer id)
getNbNotificationsgetNbNotifications()int getNbNotifications()
getNbOccurencesgetNbOccurences(id)Long getNbOccurences(Integer id)
getNotificationIDsgetNotificationIDs(type)Vector getNotificationIDs(String type)
getNotificationMessagegetNotificationMessage(id)String getNotificationMessage(Integer id)
getNotificationTypegetNotificationType(id)String getNotificationType(Integer id)
getNotificationUserDatagetNotificationUserData(id)Object getNotificationUserData(Integer id)
getPeriodgetPeriod(id)Long getPeriod(Integer id)
getSendPastNotificationsgetSendPastNotifications()boolean getSendPastNotifications()
isActiveisActive()boolean isActive()
isEmptyisEmpty()boolean isEmpty()
removeAllNotificationsremoveAllNotifications()void removeAllNotifications()
removeNotificationremoveNotification(id)void removeNotification(Integer id)
removeNotificationsremoveNotifications(type)void removeNotifications(String type)
setSendPastNotificationssetSendPastNotifications(value)void setSendPastNotifications(boolean value)
startstart()void start()
stopstop()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

MethodRing callJava overloads
getNotificationIDgetNotificationID()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

NameTypeAccessIn Ring
ONE_SECONDlongconstant · statico.ONE_SECOND
ONE_MINUTElongconstant · statico.ONE_MINUTE
ONE_HOURlongconstant · statico.ONE_HOUR
ONE_DAYlongconstant · statico.ONE_DAY
ONE_WEEKlongconstant · statico.ONE_WEEK

Methods

MethodRing callJava overloads
addNotificationaddNotification([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)
getAllNotificationIDsgetAllNotificationIDs()Vector getAllNotificationIDs()
getDategetDate(id)Date getDate(Integer id)
getFixedRategetFixedRate(id)Boolean getFixedRate(Integer id)
getNbNotificationsgetNbNotifications()int getNbNotifications()
getNbOccurencesgetNbOccurences(id)Long getNbOccurences(Integer id)
getNotificationIDsgetNotificationIDs(type)Vector getNotificationIDs(String type)
getNotificationMessagegetNotificationMessage(id)String getNotificationMessage(Integer id)
getNotificationTypegetNotificationType(id)String getNotificationType(Integer id)
getNotificationUserDatagetNotificationUserData(id)Object getNotificationUserData(Integer id)
getPeriodgetPeriod(id)Long getPeriod(Integer id)
getSendPastNotificationsgetSendPastNotifications()boolean getSendPastNotifications()
isActiveisActive()boolean isActive()
isEmptyisEmpty()boolean isEmpty()
postDeregisterpostDeregister()void postDeregister()
postRegisterpostRegister(registrationDone)void postRegister(Boolean registrationDone)
preDeregisterpreDeregister()void preDeregister()
preRegisterpreRegister(server,name)ObjectName preRegister(MBeanServer server, ObjectName name)
removeAllNotificationsremoveAllNotifications()void removeAllNotifications()
removeNotificationremoveNotification(id)void removeNotification(Integer id)
removeNotificationsremoveNotifications(type)void removeNotifications(String type)
setSendPastNotificationssetSendPastNotifications(value)void setSendPastNotifications(boolean value)
startstart()void start()
stopstop()void stop()

The methods and fields of NotificationBroadcasterSupport are inherited.

RingJava - use Java classes and methods from Ring programs.