public class StringMonitor extends Monitor implements StringMonitorMBean
文字列モニターは次のようにして通知を送信します。
match notification が送信されます。通知一致フラグは true に設定する必要があります。differ notification が送信されます。通知差分フラグは true に設定する必要があります。alreadyNotified, alreadyNotifieds, capacityIncrement, dbgTag, elementCount, OBSERVED_ATTRIBUTE_ERROR_NOTIFIED, OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED, OBSERVED_OBJECT_ERROR_NOTIFIED, RESET_FLAGS_ALREADY_NOTIFIED, RUNTIME_ERROR_NOTIFIED, server| コンストラクタと説明 |
|---|
StringMonitor()
デフォルトのコンストラクタです。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
String |
getDerivedGauge()
非推奨。
JMX 1.2 以降は、
getDerivedGauge(ObjectName) に置き換えられています。 |
String |
getDerivedGauge(ObjectName object)
指定のオブジェクトが監視対象の MBean のセットに含まれる場合、このオブジェクトの派生ゲージを取得します。そうでない場合は
null を取得します。 |
long |
getDerivedGaugeTimeStamp()
非推奨。
JMX 1.2 以降は、
getDerivedGaugeTimeStamp(ObjectName) に置き換えられています。 |
long |
getDerivedGaugeTimeStamp(ObjectName object)
指定のオブジェクトが監視対象の MBean のセットに含まれる場合、このオブジェクトの派生ゲージのタイムスタンプを取得します。そうでない場合は
0 を取得します。 |
MBeanNotificationInfo[] |
getNotificationInfo()
文字列モニターによって送信される通知の Java クラス名と通知タイプを含む
NotificationInfo オブジェクトを返します。 |
boolean |
getNotifyDiffer()
監視対象の MBean すべてに共通の差分通知のオン/オフスイッチ値を取得します。
|
boolean |
getNotifyMatch()
監視対象の MBean すべてに共通の一致通知のオン/オフスイッチ値を取得します。
|
String |
getStringToCompare()
監視対象の MBean すべてに共通の監視対象属性と比較する文字列を取得します。
|
void |
setNotifyDiffer(boolean value)
監視対象の MBean すべてに共通の差分通知のオン/オフスイッチ値を設定します。
|
void |
setNotifyMatch(boolean value)
監視対象の MBean すべてに共通の一致通知のオン/オフスイッチ値を設定します。
|
void |
setStringToCompare(String value)
監視対象の MBean すべてに共通の監視対象属性と比較する文字列を設定します。
|
void |
start()
文字列モニターを開始します。
|
void |
stop()
文字列モニターを停止します。
|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, postDeregister, postRegister, preDeregister, preRegister, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObjectaddNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObjectpublic void start()
start、インタフェース: MonitorMBeanstart、クラス: Monitorpublic void stop()
stop、インタフェース: MonitorMBeanstop、クラス: Monitorpublic String getDerivedGauge(ObjectName object)
null を取得します。getDerivedGauge、インタフェース: StringMonitorMBeanobject - MBean の名前。この MBean の派生ゲージが要求される。public long getDerivedGaugeTimeStamp(ObjectName object)
0 を取得します。getDerivedGaugeTimeStamp、インタフェース: StringMonitorMBeanobject - オブジェクトの名前。このオブジェクトの派生ゲージのタイムスタンプが返される。@Deprecated public String getDerivedGauge()
getDerivedGauge(ObjectName) に置き換えられています。getDerivedGauge、インタフェース: StringMonitorMBean@Deprecated public long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName) に置き換えられています。getDerivedGaugeTimeStamp、インタフェース: StringMonitorMBeanpublic String getStringToCompare()
getStringToCompare、インタフェース: StringMonitorMBeansetStringToCompare(java.lang.String)public void setStringToCompare(String value) throws IllegalArgumentException
setStringToCompare、インタフェース: StringMonitorMBeanvalue - 文字列値。IllegalArgumentException - 比較のために指定された文字列が null の場合。getStringToCompare()public boolean getNotifyMatch()
getNotifyMatch、インタフェース: StringMonitorMBeantrue、そうでない場合は false。setNotifyMatch(boolean)public void setNotifyMatch(boolean value)
setNotifyMatch、インタフェース: StringMonitorMBeanvalue - 一致通知のオン/オフスイッチ値。getNotifyMatch()public boolean getNotifyDiffer()
getNotifyDiffer、インタフェース: StringMonitorMBeantrue、そうでない場合は false。setNotifyDiffer(boolean)public void setNotifyDiffer(boolean value)
setNotifyDiffer、インタフェース: StringMonitorMBeanvalue - 差分通知のオン/オフスイッチ値。getNotifyDiffer()public MBeanNotificationInfo[] getNotificationInfo()
NotificationInfo オブジェクトを返します。getNotificationInfo、インタフェース: NotificationBroadcastergetNotificationInfo、クラス: NotificationBroadcasterSupport バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.