Module :
java.management - Package :
javax.management.timer
Version documentée : Java SE 17
Classe « Timer »
Informations générales
Héritage java.lang.Object
javax.management.NotificationBroadcasterSupport
javax.management.timer.Timer
Interfaces implémentées javax.management.MBeanRegistration javax.management.timer.TimerMBean Définition public class Timer extends javax.management.NotificationBroadcasterSupport implements javax.management.MBeanRegistration , javax.management.timer.TimerMBean Description A venir.
Liste des attributs
Tous les attributs
Attributs d'instance
Attributs statiques
Attributs dépréciés
public static
long
ONE_DAY
public static
long
ONE_HOUR
public static
long
ONE_MINUTE
public static
long
ONE_SECOND
public static
long
ONE_WEEK
Liste des constructeurs
Constructeurs
Constructeurs dépréciés
Liste des propriétés (getters/setters)
Propriétés
Propriétés dépréciées
public
boolean
active
R/-
public synchronized
Vector
allNotificationIDs
R/-
public synchronized
boolean
empty
R/-
public synchronized
int
nbNotifications
R/-
public synchronized
MBeanNotificationInfo []
notificationInfo
R/-
public
boolean
sendPastNotifications
R/W
Propriétés héritées de la classe javax.management.NotificationBroadcasterSupport
notificationInfo
Propriétés héritées de la classe java.lang.Object
class
Liste des méthodes
Toutes les méthodes
Méthodes d'instance
Méthodes statiques
Méthodes concrètes
Méthodes abstraites
Méthodes dépréciées
public synchronized
Integer
addNotification( String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate )
public synchronized
Integer
addNotification( String type, String message, Object userData, Date date, long period )
public synchronized
Integer
addNotification( String type, String message, Object userData, Date date, long period, long nbOccurences )
public synchronized
Integer
addNotification( String type, String message, Object userData, Date date )
public synchronized
Vector <java.lang.Integer>
getAllNotificationIDs()
public synchronized
Date
getDate( Integer id )
public synchronized
Boolean
getFixedRate( Integer id )
public synchronized
int
getNbNotifications()
public synchronized
Long
getNbOccurences( Integer id )
public synchronized
Vector <java.lang.Integer>
getNotificationIDs( String type )
public synchronized
MBeanNotificationInfo []
getNotificationInfo()
public synchronized
String
getNotificationMessage( Integer id )
public synchronized
String
getNotificationType( Integer id )
public synchronized
Object
getNotificationUserData( Integer id )
public synchronized
Long
getPeriod( Integer id )
public
boolean
getSendPastNotifications()
public
boolean
isActive()
public synchronized
boolean
isEmpty()
public
void
postDeregister()
public
void
postRegister( Boolean registrationDone )
public
void
preDeregister()
public
ObjectName
preRegister( MBeanServer server, ObjectName name )
public synchronized
void
removeAllNotifications()
public synchronized
void
removeNotification( Integer id )
public synchronized
void
removeNotifications( String type )
public
void
setSendPastNotifications( boolean value )
public synchronized
void
start()
public synchronized
void
stop()
Méthodes héritées de la classe javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
Méthodes héritées de la classe java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
2024 © SARL Infini Software - Tous droits réservés
Mentions légales
Les informations présentes dans ce site vous sont fournies dans le but de vous aider à acquérir les compétences nécessaires à
l'utilisation des langages ou des technologies considérés. Infini Software ne pourra nullement être tenu responsable de l'utilisation
des informations présentes dans ce site.
De plus, si vous remarquez des erreurs ou des oublis dans ce document, n'hésitez surtout pas à nous le signaler en envoyant un mail
à l'adresse : .
Les autres marques et les noms de produits cités dans ces documents sont la propriété de leurs éditeurs respectifs.
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :