Java javax.management.timer Timer fields, constructors, methods, implement or subclass

Example usage for Java javax.management.timer Timer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.management.timer Timer.

The text is from its open source code.

Field

longONE_SECOND
Number of milliseconds in one second.
longONE_HOUR
Number of milliseconds in one hour.

Constructor

Timer()
Default constructor.

Method

IntegeraddNotification(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.
voidaddNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
Adds a listener.
voidstart()
Starts the timer.
voidstop()
Stops the timer.