|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
javax.management.monitor.Monitor
javax.management.monitor.StringMonitor
public class StringMonitor
캐릭터 라인 속성의 값을 감시하도록(듯이) 설계된 모니터 MBean 를 정의합니다.
캐릭터 라인 모니터는 다음과 같이 해 통지를 송신합니다.
match notification 가 송신된다. 통지 일치 플래그는 true 로 설정할 필요가 있다. differ notification 가 송신된다. 통지 차분 플래그는 true 로 설정할 필요가 있다.
| 필드의 개요 |
|---|
| 클래스 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 |
| 생성자 의 개요 | |
|---|---|
StringMonitor ()
디폴트의 생성자 입니다. |
|
| 메소드의 개요 | |
|---|---|
String |
getDerivedGauge ()
추천 되고 있지 않습니다. JMX 1.2 이후, getDerivedGauge(ObjectName) 로 치환되고 있습니다. |
String |
getDerivedGauge (ObjectName object)
지정의 객체가 감시 대상의 MBean 세트에 포함되는 경우, 이 객체의 파생 게이지를 가져옵니다. |
long |
getDerivedGaugeTimeStamp ()
추천 되고 있지 않습니다. JMX 1.2 이후, getDerivedGaugeTimeStamp(ObjectName) 로 치환되고 있습니다. |
long |
getDerivedGaugeTimeStamp (ObjectName object)
지정의 객체가 감시 대상의 MBean 세트에 포함되는 경우, 이 객체의 파생 게이지의 타임 스탬프를 가져옵니다. |
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 ()
캐릭터 라인 모니터를 정지합니다. |
| 클래스 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 StringMonitor()
| 메소드의 상세 |
|---|
public void start()
MonitorMBean 내의 start Monitor 내의 start public void stop()
MonitorMBean 내의 stop Monitor 내의 stop public String getDerivedGauge(ObjectName object)
null 를 가져옵니다.
StringMonitorMBean 내의 getDerivedGauge object - MBean 의 이름. 이 MBean 의 파생 게이지가 요구된다
public long getDerivedGaugeTimeStamp(ObjectName object)
0 을 가져옵니다.
StringMonitorMBean 내의 getDerivedGaugeTimeStamp object - 객체의 이름.
이 객체의 파생 게이지의 타임 스탬프가 반환된다
@Deprecated public String getDerivedGauge()
getDerivedGauge(ObjectName) 로 치환되고 있습니다.
StringMonitorMBean 내의 getDerivedGauge @Deprecated public long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName) 로 치환되고 있습니다.
StringMonitorMBean 내의 getDerivedGaugeTimeStamp public String getStringToCompare()
StringMonitorMBean 내의 getStringToCompare setStringToCompare(java.lang.String)
public void setStringToCompare(String value)
throws IllegalArgumentException
StringMonitorMBean 내의 setStringToCompare value - 캐릭터 라인치
IllegalArgumentException - 비교를 위해서(때문에) 지정되었다
캐릭터 라인이 null 의 경우getStringToCompare() public boolean getNotifyMatch()
StringMonitorMBean 내의 getNotifyMatch true,
그렇지 않은 경우는 falsesetNotifyMatch(boolean) public void setNotifyMatch(boolean value)
StringMonitorMBean 내의 setNotifyMatch value - 일치 통지의 온/오프 스위치 값getNotifyMatch() public boolean getNotifyDiffer()
StringMonitorMBean 내의 getNotifyDiffer true,
그렇지 않은 경우는 falsesetNotifyDiffer(boolean) public void setNotifyDiffer(boolean value)
StringMonitorMBean 내의 setNotifyDiffer value - 차분 통지의 온/오프 스위치 값getNotifyDiffer() 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 도 참조해 주세요.