|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Object javax.management.NotificationBroadcasterSupport javax.management.monitor.Monitor javax.management.monitor.GaugeMonitor
public class GaugeMonitor
게이지 속성의 값을 감시하도록(듯이) 설계된 모니터 MBean 를 정의합니다.
게이지 모니터는, 시간의 경과와 함께 변화하는 속성을 감시합니다. 게이지 모니터는, 다음과 같이 해 통지를 송신합니다.
threshold high notification
가 송신됩니다. 통지의 상한 플래그는 true
로 설정할 필요가 있습니다.
threshold low notification
가 송신됩니다. 통지의 하한 플래그는 true
로 설정할 필요가 있습니다.
게이지 차분 모드를 사용하고 있는 경우, 파생 게이지의 값은, 연속한 2 회의 관측에 의해 얻을 수 있던 2 개의 게이지치의 차분으로서 계산됩니다.
파생 게이지치 (V[t])는, 다음과 같이 해 계산됩니다.
Byte
,Integer
,Short
,Long
,Float
,Double
)이 아니면 안됩니다.
필드의 개요 |
---|
클래스 javax.management.monitor. Monitor 로부터 상속된 필드 |
---|
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 |
생성자 의 개요 | |
---|---|
GaugeMonitor ()
디폴트의 생성자 입니다. |
메소드의 개요 | |
---|---|
Number |
getDerivedGauge ()
추천 되고 있지 않습니다. JMX 1.2 이후, getDerivedGauge(ObjectName) 로 치환되고 있습니다. |
Number |
getDerivedGauge (ObjectName object)
지정의 객체가 감시 대상의 MBean 세트에 포함되는 경우, 이 객체의 파생 게이지를 가져옵니다. |
long |
getDerivedGaugeTimeStamp ()
추천 되고 있지 않습니다. JMX 1.2 이후, getDerivedGaugeTimeStamp(ObjectName) 로 치환되고 있습니다. |
long |
getDerivedGaugeTimeStamp (ObjectName object)
지정의 객체가 감시 대상의 MBean 세트에 포함되는 경우, 이 객체의 파생 게이지의 타임 스탬프를 가져옵니다. |
boolean |
getDifferenceMode ()
감시 대상의 MBean 모두에게 공통의 차분 모드 플래그치를 가져옵니다. |
Number |
getHighThreshold ()
감시 대상의 MBean 모두에게 공통의 상한치를 가져옵니다. |
Number |
getLowThreshold ()
감시 대상의 MBean 모두에게 공통의 하한치를 가져옵니다. |
MBeanNotificationInfo [] |
getNotificationInfo ()
통지의 Java 클래스명과 게이지 모니터에 의해 송신되는 통지형을 포함한 NotificationInfo 객체를 돌려줍니다. |
boolean |
getNotifyHigh ()
감시 대상의 MBean 모두에게 공통의 통지의 온/오프 스위치 값의 상한치를 가져옵니다. |
boolean |
getNotifyLow ()
감시 대상의 MBean 모두에게 공통의 통지의 온/오프 스위치 값의 하한치를 가져옵니다. |
void |
setDifferenceMode (boolean value)
감시 대상의 MBean 모두에게 공통의 차분 모드 플래그치를 설정합니다. |
void |
setNotifyHigh (boolean value)
감시 대상의 MBean 모두에게 공통의 통지의 온/오프 스위치 값의 상한치를 설정합니다. |
void |
setNotifyLow (boolean value)
감시 대상의 MBean 모두에게 공통의 통지의 온/오프 스위치 값의 하한치를 설정합니다. |
void |
setThresholds (Number highValue,
Number lowValue)
감시 대상의 MBean 모두에게 공통의 상한 및 하한의 임계치를 설정합니다. |
void |
start ()
게이지 모니터를 개시합니다. |
void |
stop ()
게이지 모니터를 정지합니다. |
클래스 javax.management.monitor. Monitor 로부터 상속된 메소드 |
---|
addObservedObject , containsObservedObject , getGranularityPeriod , getObservedAttribute , getObservedObject , getObservedObjects , isActive , postDeregister , postRegister , preDeregister , preRegister , removeObservedObject , setGranularityPeriod , setObservedAttribute , setObservedObject |
클래스 javax.management. NotificationBroadcasterSupport 로부터 상속된 메소드 |
---|
addNotificationListener , handleNotification , removeNotificationListener , removeNotificationListener , sendNotification |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
인터페이스 javax.management.monitor. MonitorMBean 로부터 상속된 메소드 |
---|
addObservedObject , containsObservedObject , getGranularityPeriod , getObservedAttribute , getObservedObject , getObservedObjects , isActive , removeObservedObject , setGranularityPeriod , setObservedAttribute , setObservedObject |
생성자 의 상세 |
---|
public GaugeMonitor()
메소드의 상세 |
---|
public void start()
MonitorMBean
내의 start
Monitor
내의 start
public void stop()
MonitorMBean
내의 stop
Monitor
내의 stop
public Number getDerivedGauge(ObjectName object)
null
를 가져옵니다.
GaugeMonitorMBean
내의 getDerivedGauge
object
- MBean 의 이름
public long getDerivedGaugeTimeStamp(ObjectName object)
0
을 가져옵니다.
GaugeMonitorMBean
내의 getDerivedGaugeTimeStamp
object
- 객체의 이름.
이 객체의 파생 게이지의 타임 스탬프가 반환된다
@Deprecated public Number getDerivedGauge()
getDerivedGauge(ObjectName)
로 치환되고 있습니다.
GaugeMonitorMBean
내의 getDerivedGauge
@Deprecated public long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
로 치환되고 있습니다.
GaugeMonitorMBean
내의 getDerivedGaugeTimeStamp
public Number getHighThreshold()
GaugeMonitorMBean
내의 getHighThreshold
setThresholds(java.lang.Number, java.lang.Number)
public Number getLowThreshold()
GaugeMonitorMBean
내의 getLowThreshold
setThresholds(java.lang.Number, java.lang.Number)
public void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException
GaugeMonitorMBean
내의 setThresholds
highValue
- 상한치lowValue
- 하한치
IllegalArgumentException
- 상한 및 하한의 임계치로서 null 가 지정되었을 경우,
하한치가 상한치보다 큰 경우,
또는 상한치와 하한치의 형태가
다른 경우getHighThreshold()
,
getLowThreshold()
public boolean getNotifyHigh()
GaugeMonitorMBean
내의 getNotifyHigh
true
,
그렇지 않은 경우는 false
setNotifyHigh(boolean)
public void setNotifyHigh(boolean value)
GaugeMonitorMBean
내의 setNotifyHigh
value
- 통지의 온/오프 스위치 값의 상한치getNotifyHigh()
public boolean getNotifyLow()
GaugeMonitorMBean
내의 getNotifyLow
true
,
그렇지 않은 경우는 false
setNotifyLow(boolean)
public void setNotifyLow(boolean value)
GaugeMonitorMBean
내의 setNotifyLow
value
- 통지의 온/오프 스위치 값의 하한치getNotifyLow()
public boolean getDifferenceMode()
GaugeMonitorMBean
내의 getDifferenceMode
true
,
그렇지 않은 경우는 false
setDifferenceMode(boolean)
public void setDifferenceMode(boolean value)
GaugeMonitorMBean
내의 setDifferenceMode
value
- 차분 모드 플래그치getDifferenceMode()
public MBeanNotificationInfo [] getNotificationInfo()
NotificationInfo
객체를 돌려줍니다.
NotificationBroadcaster
내의 getNotificationInfo
NotificationBroadcasterSupport
내의 getNotificationInfo
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.