|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
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 |
setGranularityPeriod (long period)
ÀÔµµÀÇ Áֱ⸦ ¹Ð¸® ¼¼ÄÁµå ´ÜÀ§·Î ¼³Á¤ÇÕ´Ï´Ù. |
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,
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,
setObservedAttribute,
setObservedObject |
»ý¼ºÀÚ »ó¼¼ |
---|
public GaugeMonitor()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public void start()
MonitorMBean
³»ÀÇ start
Monitor
³»ÀÇ start
public void stop()
MonitorMBean
³»ÀÇ stop
Monitor
³»ÀÇ stop
public void setGranularityPeriod(long period) throws IllegalArgumentException
MonitorMBean
³»ÀÇ setGranularityPeriod
Monitor
³»ÀÇ setGranularityPeriod
period
- ÀÔµµ ÁÖ±âÀÇ °ª
IllegalArgumentException
- ÀÔµµ ÁֱⰡ Á¦·Î ¾Æ·¡ÀÇ °æ¿ìMonitor.setGranularityPeriod(long)
public Number getDerivedGauge(ObjectName object)
null
À»
ÃëµæÇÕ´Ï´Ù.
GaugeMonitorMBean
³»ÀÇ getDerivedGauge
object
- MBean
À̸§
public long getDerivedGaugeTimeStamp(ObjectName object)
null
À»
ÃëµæÇÕ´Ï´Ù.
GaugeMonitorMBean
³»ÀÇ getDerivedGaugeTimeStamp
object
- MBean
À̸§
@Deprecated public Number getDerivedGauge()
getDerivedGauge(ObjectName)
·Î ġȯµË´Ï´Ù.
GaugeMonitorMBean
³»ÀÇ getDerivedGauge
@Deprecated public long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
·Î ġȯµË´Ï´Ù.
GaugeMonitorMBean
³»ÀÇ getDerivedGaugeTimeStamp
public Number getHighThreshold()
GaugeMonitorMBean
³»ÀÇ getHighThreshold
public Number getLowThreshold()
GaugeMonitorMBean
³»ÀÇ getLowThreshold
public void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException
GaugeMonitorMBean
³»ÀÇ setThresholds
highValue
- »óÇÑÄ¡lowValue
- ÇÏÇÑÄ¡
IllegalArgumentException
- »óÇÑ ¹× ÇÏÇÑÀÇÀÇÇØ ±ÍÀÇ°ªÀ¸·Î
nullÀÌ ÁöÁ¤µÇ¾úÀ» °æ¿ì, ÇÏÇÑ°ªÀÌ »óÇÑÄ¡º¸´Ù Å« °æ¿ì, ¶Ç´Â »óÇÑÄ¡¿Í ÇÏÇÑÄ¡ÀÇ ÇüÅ°¡ ´Ù¸¥ °æ¿ì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 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.