接口 | 描述 |
---|---|
TimerMBean |
揭示了定时器MBean管理界面。
|
类 | 描述 |
---|---|
Timer |
提供的定时器MBean实现。
|
TimerNotification |
这个类提供了定时发送通知的MBean定义。
|
提供的定时器MBean的定义。定时器MBean维护一组预定的通知,因为它是一个NotificationBroadcaster
,为那些通知听众名单。当到达一个预定通知的时间时,每个侦听器接收通知。通知可以在一个固定的时间间隔重复,和重复的数量可以是有界的。
一个定时器MBean听众本身就可以是一个MBean,使用方法MBeanServer.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)
。这样,一个管理应用程序可以创建代表一个任务的MBean,然后计划,使用定时器MBean的任务。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.