author | ohair |
Wed, 26 May 2010 20:28:04 -0700 | |
changeset 5551 | 327690766109 |
parent 5506 | 202f599c92aa |
permissions | -rw-r--r-- |
2 | 1 |
<html> |
2 |
<head> |
|
3 |
<title>javax.management.timer package</title> |
|
4 |
<!-- |
|
5506 | 5 |
Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. |
2 | 6 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
7 |
||
8 |
This code is free software; you can redistribute it and/or modify it |
|
9 |
under the terms of the GNU General Public License version 2 only, as |
|
5506 | 10 |
published by the Free Software Foundation. Oracle designates this |
2 | 11 |
particular file as subject to the "Classpath" exception as provided |
5506 | 12 |
by Oracle in the LICENSE file that accompanied this code. |
2 | 13 |
|
14 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
15 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
16 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
17 |
version 2 for more details (a copy is included in the LICENSE file that |
|
18 |
accompanied this code). |
|
19 |
||
20 |
You should have received a copy of the GNU General Public License version |
|
21 |
2 along with this work; if not, write to the Free Software Foundation, |
|
22 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
23 |
||
5551
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
24 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
25 |
or visit www.oracle.com if you need additional information or have any |
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
26 |
questions. |
2 | 27 |
--> |
28 |
</head> |
|
29 |
<body bgcolor="white"> |
|
30 |
||
31 |
<p>Provides the definition of the Timer MBean. A Timer MBean |
|
32 |
maintains a list of scheduled notifications and, because it is a |
|
33 |
{@link javax.management.NotificationBroadcaster |
|
34 |
NotificationBroadcaster}, a list of listeners for those |
|
35 |
notifications. Whenever the time for one of the scheduled |
|
36 |
notifications is reached, each listener receives the |
|
37 |
notification. Notifications can be repeated at a fixed |
|
38 |
interval, and the number of repetitions can be bounded.</p> |
|
39 |
||
40 |
<p>A listener for a Timer MBean can itself be an MBean, using |
|
41 |
the method {@link |
|
42 |
javax.management.MBeanServer#addNotificationListener(ObjectName, |
|
43 |
ObjectName, NotificationFilter, Object)}. In this way, a |
|
44 |
management application can create an MBean representing a task, |
|
45 |
then schedule that task using a Timer MBean.</p> |
|
46 |
||
47 |
@since 1.5 |
|
48 |
||
49 |
</BODY> |
|
50 |
</HTML> |