org.echarts.monitor
Class MachineLifecycleEvent

java.lang.Object
  extended by org.echarts.monitor.MachineMonitorEvent
      extended by org.echarts.monitor.MachineDebugEvent
          extended by org.echarts.monitor.MachineLifecycleEvent
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class MachineLifecycleEvent
extends MachineDebugEvent

See Also:
Serialized Form

Field Summary
static java.lang.String CREATED
           
static java.lang.String DESTROYED
           
static java.lang.String LIFECYCLE
           
static java.lang.String STATE_NAME
           
static java.lang.String SUBMACHINE_BOUND
           
static java.lang.String SUBMACHINE_CLASS
           
static java.lang.String SUBMACHINE_COUNT
           
static java.lang.String SUBMACHINE_ID
           
static java.lang.String SUBMACHINE_INDEX
           
 
Fields inherited from class org.echarts.monitor.MachineDebugEvent
MACHINE_CLASS, MACHINE_ID, MACHINE_STATE_PATH, ROOT_MACHINE_ID, SEQUENCE_ID
 
Fields inherited from class org.echarts.monitor.MachineMonitorEvent
hostIpAddress, properties, timestamp
 
Constructor Summary
MachineLifecycleEvent()
          For MachineMonitorEvent.readRaw().
MachineLifecycleEvent(java.lang.String lifecycle, java.lang.String stateName, java.lang.String fullSubmachineClassName, java.lang.String submachineID)
          Constructor used for and- and or-machine creation/destruction events.
MachineLifecycleEvent(java.lang.String lifecycle, java.lang.String stateName, java.lang.String fullSubmachineClassName, java.lang.String submachineID, int index, int count, int bound)
          Constructor used for dynamic machine creation/destruction events.
 
Method Summary
 
Methods inherited from class org.echarts.monitor.MachineMonitorEvent
getClassString, getHostAddress, getPropertiesString, getSortedKeys, readExternal, readRaw, replaceChar, toString, writeExternal, writeRaw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIFECYCLE

public static final java.lang.String LIFECYCLE
See Also:
Constant Field Values

CREATED

public static final java.lang.String CREATED
See Also:
Constant Field Values

DESTROYED

public static final java.lang.String DESTROYED
See Also:
Constant Field Values

SUBMACHINE_COUNT

public static final java.lang.String SUBMACHINE_COUNT
See Also:
Constant Field Values

SUBMACHINE_BOUND

public static final java.lang.String SUBMACHINE_BOUND
See Also:
Constant Field Values

SUBMACHINE_INDEX

public static final java.lang.String SUBMACHINE_INDEX
See Also:
Constant Field Values

SUBMACHINE_CLASS

public static final java.lang.String SUBMACHINE_CLASS
See Also:
Constant Field Values

SUBMACHINE_ID

public static final java.lang.String SUBMACHINE_ID
See Also:
Constant Field Values

STATE_NAME

public static final java.lang.String STATE_NAME
See Also:
Constant Field Values
Constructor Detail

MachineLifecycleEvent

public MachineLifecycleEvent()
For MachineMonitorEvent.readRaw().


MachineLifecycleEvent

public MachineLifecycleEvent(java.lang.String lifecycle,
                             java.lang.String stateName,
                             java.lang.String fullSubmachineClassName,
                             java.lang.String submachineID,
                             int index,
                             int count,
                             int bound)
Constructor used for dynamic machine creation/destruction events.


MachineLifecycleEvent

public MachineLifecycleEvent(java.lang.String lifecycle,
                             java.lang.String stateName,
                             java.lang.String fullSubmachineClassName,
                             java.lang.String submachineID)
Constructor used for and- and or-machine creation/destruction events.