Example usage for Java javax.management.timer Timer fields, constructors, methods, implement or subclass
The text is from its open source code.
long | ONE_SECOND Number of milliseconds in one second. |
long | ONE_HOUR Number of milliseconds in one hour. |
Timer() Default constructor. |
Integer | addNotification(String type, String message, Object userData, Date date) Creates a new timer notification with the specified type , message and userData and inserts it into the list of notifications with a given date and a null period and number of occurrences. |
void | addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) Adds a listener. |
void | start() Starts the timer. |
void | stop() Stops the timer. |