|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
com.sun.mfwk.util.instrum.MfStatus
MfStatusMBean contains the status of a component product
Field Summary |
Fields inherited from interface com.sun.mfwk.util.instrum.MfStatusMBean |
AVAIL_CONGESTED, AVAIL_DEGRADED, AVAIL_NORMAL, OPS_FAILED, OPS_RUNNING, OPS_STARTING, OPS_STOPPED, OPS_STOPPING |
Constructor Summary | |
MfStatus()
|
Method Summary | |
int |
getAvailabilityState()
Get the availability state. |
long |
getAvailStateLastChange()
Get the availability state last change time. |
long |
getDegradedTime()
Get the time the component product has entered in a degraded or congested state. |
int |
getOperationalState()
Get the operational state. |
long |
getOpsStateLastChange()
Get the operational state last change time. |
long |
getRunningTime()
Get the time the component product has entered in a running state. |
void |
setAvailabilityState(int state)
Set the availability state. |
void |
setAvailStateLastChange(long time)
Set the availability state last change time. |
void |
setDegradedTime(long time)
Set the time the component product has entered in a degraded or congested state. |
void |
setOperationalState(int state)
Set the operational state. |
void |
setOpsStateLastChange(long time)
Set the operational state last change time. |
void |
setRunningTime(long time)
Set the time the component product has entered in a running state. |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MfStatus()
Method Detail |
public int getAvailabilityState()
getAvailabilityState
in interface MfStatusMBean
public long getAvailStateLastChange()
getAvailStateLastChange
in interface MfStatusMBean
public long getDegradedTime()
getDegradedTime
in interface MfStatusMBean
public int getOperationalState()
getOperationalState
in interface MfStatusMBean
public long getOpsStateLastChange()
getOpsStateLastChange
in interface MfStatusMBean
public long getRunningTime()
getRunningTime
in interface MfStatusMBean
public void setAvailabilityState(int state)
public void setAvailStateLastChange(long time)
public void setDegradedTime(long time)
public void setOperationalState(int state)
public void setOpsStateLastChange(long time)
public void setRunningTime(long time)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |