Sonic Management API

com.sonicsw.mf.common.runtime
Interface IChildContainerState

All Superinterfaces:
java.lang.Comparable, IState

public interface IChildContainerState
extends IState

The implmentation of this interface represents the state of a child container managed by an Activation Daemon.

See Also:
IActivationDaemonProxy

Field Summary
static short STATE_INACTIVE
          Indicates the child container is inan inactive state (there are no schedules that indicate the child container should be running).
static short STATE_OFFLINE
          Indicates the child container is offline.
static short STATE_ONLINE
          Indicates the child container is online (in operational state).
static java.lang.String[] STATE_TEXT
          Textual representations of child container states (indexed by STATE_<> values).
static short STATE_UNKNOWN
          Indicates the child container state cannot be determined.
 
Method Summary
 java.lang.Integer getExitCode()
          Gets the last known exit code of the child container.
 java.lang.String[] getLogTail()
          Gets the tail of the child containers stdout/stderr.
 long getTimeStamp()
          Get the time the state value was captured.
 
Methods inherited from interface com.sonicsw.mf.common.runtime.IState
compareTo, equals, getRuntimeIdentity, getState, getStateString
 

Field Detail

STATE_INACTIVE

static final short STATE_INACTIVE
Indicates the child container is inan inactive state (there are no schedules that indicate the child container should be running).

See Also:
Constant Field Values

STATE_OFFLINE

static final short STATE_OFFLINE
Indicates the child container is offline. The child container is either not contactable or a shutdown/deactivate has triggered the offline state.

See Also:
Constant Field Values

STATE_ONLINE

static final short STATE_ONLINE
Indicates the child container is online (in operational state).

See Also:
Constant Field Values

STATE_TEXT

static final java.lang.String[] STATE_TEXT
Textual representations of child container states (indexed by STATE_<> values).


STATE_UNKNOWN

static final short STATE_UNKNOWN
Indicates the child container state cannot be determined.

See Also:
Constant Field Values
Method Detail

getExitCode

java.lang.Integer getExitCode()
Gets the last known exit code of the child container.

The exit code will be recorded when the child container is shutdown, deactivated or fails.

Returns:
The child container exit code or null if the child container has never been launched/activated. Exit codes are defined in IContainerExitCodes.
See Also:
IContainerExitCodes

getLogTail

java.lang.String[] getLogTail()
Gets the tail of the child containers stdout/stderr.

Returns:
The tail of messages/exceptions logged by the child container or null if the child container has never been launched/activated.

getTimeStamp

long getTimeStamp()
Get the time the state value was captured.


Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 07-Mar-2010.