- すべてのスーパー・インタフェース:
- MonitorMBean
- 既知のすべての実装クラス:
- StringMonitor
public interface StringMonitorMBean extends MonitorMBean
文字列モニターMBeanのリモート管理インタフェースを公開します。
- 導入されたバージョン:
- 1.5
- 
メソッドのサマリー修飾子と型 メソッド 説明 StringgetDerivedGauge()非推奨。StringgetDerivedGauge(ObjectName object)指定されたMBeanの派生ゲージを取得します。longgetDerivedGaugeTimeStamp()非推奨。JMX 1.2以降は、getDerivedGaugeTimeStamp(ObjectName)に置き換えられています。longgetDerivedGaugeTimeStamp(ObjectName object)指定されたMBeanの派生ゲージのタイムスタンプを取得します。booleangetNotifyDiffer()差分通知のオン/オフ・スイッチ値を取得します。booleangetNotifyMatch()一致通知のオン/オフ・スイッチ値を取得します。StringgetStringToCompare()監視対象の属性と比較する文字列を取得します。voidsetNotifyDiffer(boolean value)差分通知のオン/オフ・スイッチ値を設定します。voidsetNotifyMatch(boolean value)一致通知のオン/オフ・スイッチ値を設定します。voidsetStringToCompare(String value)監視対象の属性と比較する文字列を設定します。インタフェース javax.management.monitor.MonitorMBeanで宣言されたメソッドaddObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
- 
メソッドの詳細- 
getDerivedGauge@Deprecated String getDerivedGauge()非推奨。JMX 1.2以降は、getDerivedGauge(ObjectName)に置き換えられています。派生ゲージを取得します。- 戻り値:
- 派生ゲージ。
 
- 
getDerivedGaugeTimeStamp@Deprecated long getDerivedGaugeTimeStamp()非推奨。JMX 1.2以降は、getDerivedGaugeTimeStamp(ObjectName)に置き換えられています。派生ゲージのタイムスタンプを取得します。- 戻り値:
- 派生ゲージのタイムスタンプ。
 
- 
getDerivedGaugeString getDerivedGauge(ObjectName object)指定されたMBeanの派生ゲージを取得します。- パラメータ:
- object- MBean。このMBeanの派生ゲージが返される
- 戻り値:
- 指定のMBeanが監視対象のMBeanのセットに含まれる場合、このMBeanの派生ゲージ。そうでない場合はnull。
 
- 
getDerivedGaugeTimeStamplong getDerivedGaugeTimeStamp(ObjectName object)指定されたMBeanの派生ゲージのタイムスタンプを取得します。- パラメータ:
- object- MBean。このMBeanの派生ゲージのタイムスタンプが返される
- 戻り値:
- 指定のMBeanが監視対象のMBeanのセットに含まれる場合、このMBeanの派生ゲージのタイムスタンプ。そうでない場合はnull。
 
- 
getStringToCompareString getStringToCompare()監視対象の属性と比較する文字列を取得します。- 戻り値:
- 文字列値。
- 関連項目:
- setStringToCompare(java.lang.String)
 
- 
setStringToComparevoid setStringToCompare(String value) throws IllegalArgumentException監視対象の属性と比較する文字列を設定します。- パラメータ:
- value- 文字列値。
- 例外:
- IllegalArgumentException- 比較のために指定された文字列がnullの場合。
- 関連項目:
- getStringToCompare()
 
- 
getNotifyMatchboolean getNotifyMatch()一致通知のオン/オフ・スイッチ値を取得します。- 戻り値:
- 照合時に文字列モニターが通知を送る場合はtrue、そうでない場合はfalse。
- 関連項目:
- setNotifyMatch(boolean)
 
- 
setNotifyMatchvoid setNotifyMatch(boolean value)一致通知のオン/オフ・スイッチ値を設定します。- パラメータ:
- value- 一致通知のオン/オフ・スイッチ値。
- 関連項目:
- getNotifyMatch()
 
- 
getNotifyDifferboolean getNotifyDiffer()差分通知のオン/オフ・スイッチ値を取得します。- 戻り値:
- 差分を取ったとき文字列モニターが通知を送る場合はtrue、そうでない場合はfalse。
- 関連項目:
- setNotifyDiffer(boolean)
 
- 
setNotifyDiffervoid setNotifyDiffer(boolean value)差分通知のオン/オフ・スイッチ値を設定します。- パラメータ:
- value- 差分通知のオン/オフ・スイッチ値。
- 関連項目:
- getNotifyDiffer()
 
 
- 
getDerivedGauge(ObjectName)に置き換えられています。