Participer au site avec un Tip
Rechercher
 

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 :

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
QualificateursTypeNomDescription
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
ConstructeurDescription
Timer()

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
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
QualificateursType de retourPrototype de la méthodeDescription
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