Provides the definition of the Timer MBean. A Timer MBean
maintains a list of scheduled notifications and, because it is a
, a list of listeners for those
notifications. Whenever the time for one of the scheduled
notifications is reached, each listener receives the
notification. Notifications can be repeated at a fixed
interval, and the number of repetitions can be bounded.
A listener for a Timer MBean can itself be an MBean, using
. In this way, a
management application can create an MBean representing a task,
then schedule that task using a Timer MBean.
MBeanServer.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)
All Classes and Interfaces Interfaces Classes
Provides the implementation of the timer MBean.
Exposes the management interface of the timer MBean.
This class provides definitions of the notifications sent by timer MBeans.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.