|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.mfwk.cib.sdk.states.CIBOperationalStatusStateImpl
Provides a default implementation for a CIBOperationalStatusState object. This implementation is fully based on the Java-ES MF Instrumentation SDK.
| Field Summary |
| Fields inherited from interface com.sun.mfwk.cib.states.CIBOperationalStatusState |
FAILED, RUNNING, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
CIBOperationalStatusStateImpl(javax.management.MBeanServerConnection connection,
java.util.Map map)
Constructor |
|
| Method Summary | |
void |
destroy()
destroy the statistics and clean the statistics objects/values when needed, close all the communications. |
long |
getLastChange()
Get the LastChange time of the operationla status object |
long |
getStartTime()
getUpTime |
int |
getState()
getState |
void |
init()
Initialize the statistics mechanism. |
void |
start()
Start the statistics collections and clean the statistics objects/values when needed, close all the communications. |
void |
stop()
Stop the statistics collections and clean the statistics objects/values when needed, close all the communications. |
java.lang.String |
toStateString()
getStateString |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CIBOperationalStatusStateImpl(javax.management.MBeanServerConnection connection,
java.util.Map map)
connection - MBeanServerConnectionmap - Map| Method Detail |
public long getLastChange()
getLastChange in interface CIBStatepublic int getState()
getState in interface CIBState
public java.lang.String toStateString()
throws CIBIOException,
CIBAttributeNotFoundException
toStateString in interface CIBStateCIBAttributeNotFoundException
CIBIOExceptionpublic long getStartTime()
getStartTime in interface CIBOperationalStatusState
public void init()
throws CIBIOException,
CIBException
init in interface CIBProviderCIBException
CIBIOException
public void destroy()
throws CIBIOException,
CIBException
destroy in interface CIBProviderCIBIOException
CIBExceptionpublic void start()
public void stop()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||