<div> JavaScript is disabled on your browser.
Skip navigation links
Java™ Platform
Standard Ed. 8
compact3

Package javax.management.timer

提供的定时器MBean的定义。

See: 描述

Package javax.management.timer Description

提供的定时器MBean的定义。定时器MBean维护一组预定的通知,因为它是一个NotificationBroadcaster,为那些通知听众名单。当到达一个预定通知的时间时,每个侦听器接收通知。通知可以在一个固定的时间间隔重复,和重复的数量可以是有界的。

一个定时器MBean听众本身就可以是一个MBean,使用方法MBeanServer.addNotificationListener(ObjectName, ObjectName, NotificationFilter, Object)。这样,一个管理应用程序可以创建代表一个任务的MBean,然后计划,使用定时器MBean的任务。

从以下版本开始:
1.5
Skip navigation links
Java™ Platform
Standard Ed. 8

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.

本帮助文档是使用 《百度翻译》翻译,请与英文版配合使用 by--QQ:654638585