JavaTM Platform
Standard Ed. 6

javax.management.monitor
インタフェース StringMonitorMBean

すべてのスーパーインタフェース:
MonitorMBean
既知の実装クラスの一覧:
StringMonitor

public interface StringMonitorMBean
extends MonitorMBean

文字列モニター MBean のリモート管理インタフェースを公開します。

導入されたバージョン:
1.5

メソッドの概要
 String getDerivedGauge()
          推奨されていません。 JMX 1.2 以降、getDerivedGauge(ObjectName) で置換されています。
 String getDerivedGauge(ObjectName object)
          指定された MBean の派生ゲージを取得します。
 long getDerivedGaugeTimeStamp()
          推奨されていません。 JMX 1.2 以降、getDerivedGaugeTimeStamp(ObjectName) で置換されています。
 long getDerivedGaugeTimeStamp(ObjectName object)
          指定された MBean の派生ゲージのタイムスタンプを取得します。
 boolean getNotifyDiffer()
          差分通知のオン/オフスイッチ値の上限値を取得します。
 boolean getNotifyMatch()
          一致通知のオン/オフスイッチ値を取得します。
 String getStringToCompare()
          監視対象の属性と比較する文字列を取得します。
 void setNotifyDiffer(boolean value)
          差分通知のオン/オフスイッチ値を設定します。
 void setNotifyMatch(boolean value)
          一致通知のオン/オフスイッチ値を設定します。
 void setStringToCompare(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) で置換されています。

派生ゲージのタイムスタンプを取得します。

戻り値:
派生ゲージのタイムスタンプ

getDerivedGauge

String getDerivedGauge(ObjectName object)
指定された MBean の派生ゲージを取得します。

パラメータ:
object - MBean。この MBean の派生ゲージが返される
戻り値:
指定の MBean が監視対象の MBean のセットに含まれる場合、 この MBean の派生ゲージ。そうでない場合は null

getDerivedGaugeTimeStamp

long getDerivedGaugeTimeStamp(ObjectName object)
指定された MBean の派生ゲージのタイムスタンプを取得します。

パラメータ:
object - MBean。この MBean の派生ゲージのタイムスタンプが返される
戻り値:
指定の MBean が監視対象の MBean のセットに含まれる場合、 この MBean の派生ゲージのタイムスタンプ。そうでない場合は null

getStringToCompare

String getStringToCompare()
監視対象の属性と比較する文字列を取得します。

戻り値:
文字列値
関連項目:
setStringToCompare(java.lang.String)

setStringToCompare

void setStringToCompare(String value)
                        throws IllegalArgumentException
監視対象の属性と比較する文字列を設定します。

パラメータ:
value - 文字列値
例外:
IllegalArgumentException - 比較のために指定された 文字列が null の場合
関連項目:
getStringToCompare()

getNotifyMatch

boolean getNotifyMatch()
一致通知のオン/オフスイッチ値を取得します。

戻り値:
照合時に文字列モニターが通知を送る場合は true、 そうでない場合は false
関連項目:
setNotifyMatch(boolean)

setNotifyMatch

void setNotifyMatch(boolean value)
一致通知のオン/オフスイッチ値を設定します。

パラメータ:
value - 一致通知のオン/オフスイッチ値
関連項目:
getNotifyMatch()

getNotifyDiffer

boolean getNotifyDiffer()
差分通知のオン/オフスイッチ値の上限値を取得します。

戻り値:
差分を取ったとき文字列モニターが通知を送る場合は true、 そうでない場合は false
関連項目:
setNotifyDiffer(boolean)

setNotifyDiffer

void setNotifyDiffer(boolean value)
差分通知のオン/オフスイッチ値を設定します。

パラメータ:
value - 差分通知のオン/オフスイッチ値
関連項目:
getNotifyDiffer()

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。