javax.management.timer
Interface TimerMBean
- All Known Implementing Classes:
- Timer
public interface TimerMBean
- Version:
- $Revision: 1.2 $
- Author:
- Simone Bordet
|
Method Summary |
java.lang.Integer |
addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date)
|
java.lang.Integer |
addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date,
long period)
|
java.lang.Integer |
addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date,
long period,
long nbOccurences)
|
java.util.Vector |
getAllNotificationIDs()
|
java.util.Date |
getDate(java.lang.Integer id)
|
int |
getNbNotifications()
|
java.lang.Long |
getNbOccurences(java.lang.Integer id)
|
java.util.Vector |
getNotificationIDs(java.lang.String type)
|
java.lang.String |
getNotificationMessage(java.lang.Integer id)
|
java.lang.String |
getNotificationType(java.lang.Integer id)
|
java.lang.Object |
getNotificationUserData(java.lang.Integer id)
|
java.lang.Long |
getPeriod(java.lang.Integer id)
|
boolean |
getSendPastNotifications()
|
boolean |
isActive()
|
boolean |
isEmpty()
|
void |
removeAllNotifications()
|
void |
removeNotification(java.lang.Integer id)
|
void |
removeNotifications(java.lang.String type)
|
void |
setSendPastNotifications(boolean value)
|
void |
start()
|
void |
stop()
|
start
void start()
stop
void stop()
isActive
boolean isActive()
addNotification
java.lang.Integer addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
addNotification
java.lang.Integer addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date,
long period)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
addNotification
java.lang.Integer addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date,
long period,
long nbOccurences)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
removeNotification
void removeNotification(java.lang.Integer id)
throws InstanceNotFoundException
- Throws:
InstanceNotFoundException
removeNotifications
void removeNotifications(java.lang.String type)
throws InstanceNotFoundException
- Throws:
InstanceNotFoundException
removeAllNotifications
void removeAllNotifications()
getNbNotifications
int getNbNotifications()
getAllNotificationIDs
java.util.Vector getAllNotificationIDs()
getNotificationIDs
java.util.Vector getNotificationIDs(java.lang.String type)
getNotificationType
java.lang.String getNotificationType(java.lang.Integer id)
getNotificationMessage
java.lang.String getNotificationMessage(java.lang.Integer id)
getNotificationUserData
java.lang.Object getNotificationUserData(java.lang.Integer id)
getDate
java.util.Date getDate(java.lang.Integer id)
getPeriod
java.lang.Long getPeriod(java.lang.Integer id)
getNbOccurences
java.lang.Long getNbOccurences(java.lang.Integer id)
getSendPastNotifications
boolean getSendPastNotifications()
setSendPastNotifications
void setSendPastNotifications(boolean value)
isEmpty
boolean isEmpty()
Copyright © 2001-2002 MX4J Team. All Rights Reserved.