-
- All Superinterfaces:
- MonitorMBean
- All Known Implementing Classes:
- StringMonitor
public interface StringMonitorMBean extends MonitorMBean
Exposes the remote management interface of the string monitor MBean.- Since:
- 1.5
-
-
Method Summary
Methods Modifier and Type Method and Description String
getDerivedGauge()
Deprecated.As of JMX 1.2, replaced bygetDerivedGauge(ObjectName)
String
getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.long
getDerivedGaugeTimeStamp()
Deprecated.As of JMX 1.2, replaced bygetDerivedGaugeTimeStamp(ObjectName)
long
getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean.boolean
getNotifyDiffer()
Gets the differing notification's on/off switch value.boolean
getNotifyMatch()
Gets the matching notification's on/off switch value.String
getStringToCompare()
Gets the string to compare with the observed attribute.void
setNotifyDiffer(boolean value)
Sets the differing notification's on/off switch value.void
setNotifyMatch(boolean value)
Sets the matching notification's on/off switch value.void
setStringToCompare(String value)
Sets the string to compare with the observed attribute.-
Methods inherited from interface javax.management.monitor.MonitorMBean
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
-
-
-
-
Method Detail
-
getDerivedGauge
@Deprecated String getDerivedGauge()
Deprecated. As of JMX 1.2, replaced bygetDerivedGauge(ObjectName)
Gets the derived gauge.- Returns:
- The derived gauge.
-
getDerivedGaugeTimeStamp
@Deprecated long getDerivedGaugeTimeStamp()
Deprecated. As of JMX 1.2, replaced bygetDerivedGaugeTimeStamp(ObjectName)
Gets the derived gauge timestamp.- Returns:
- The derived gauge timestamp.
-
getDerivedGauge
String getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.- Parameters:
object
- the MBean for which the derived gauge is to be returned- Returns:
- The derived gauge for the specified MBean if this MBean is in the
set of observed MBeans, or
null
otherwise.
-
getDerivedGaugeTimeStamp
long getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean.- Parameters:
object
- the MBean for which the derived gauge timestamp is to be returned- Returns:
- The derived gauge timestamp for the specified MBean if this MBean
is in the set of observed MBeans, or
null
otherwise.
-
getStringToCompare
String getStringToCompare()
Gets the string to compare with the observed attribute.- Returns:
- The string value.
- See Also:
setStringToCompare(java.lang.String)
-
setStringToCompare
void setStringToCompare(String value) throws IllegalArgumentException
Sets the string to compare with the observed attribute.- Parameters:
value
- The string value.- Throws:
IllegalArgumentException
- The specified string to compare is null.- See Also:
getStringToCompare()
-
getNotifyMatch
boolean getNotifyMatch()
Gets the matching notification's on/off switch value.- Returns:
true
if the string monitor notifies when matching,false
otherwise.- See Also:
setNotifyMatch(boolean)
-
setNotifyMatch
void setNotifyMatch(boolean value)
Sets the matching notification's on/off switch value.- Parameters:
value
- The matching notification's on/off switch value.- See Also:
getNotifyMatch()
-
getNotifyDiffer
boolean getNotifyDiffer()
Gets the differing notification's on/off switch value.- Returns:
true
if the string monitor notifies when differing,false
otherwise.- See Also:
setNotifyDiffer(boolean)
-
setNotifyDiffer
void setNotifyDiffer(boolean value)
Sets the differing notification's on/off switch value.- Parameters:
value
- The differing notification's on/off switch value.- See Also:
getNotifyDiffer()
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/11/2024 21:29:25 Cette version de la page est en cache (à la date du 21/11/2024 21:29:25) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.Document créé le 01/09/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/management/monitor/StringMonitorMBean.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.