com.microstrategy.web.objects.admin.serverconfig.InstanceStatus |
![]() |
This interface represents the status of a single server instance. This interface
can be obtained from either the ServerInstance
or ServerMachine
interfaces.
Note that, based on the server type, this interface can be cast into a type-specific subinterface.
For example, an InstanceStatus object with server type EnumServerTypes
.IntelligenceServer can
be cast to a IntelligenceServerInstanceStatus
object, to obtain Intelligence Server-specific information.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
canBePaused()
Returns whether the instance supports pausing from its current state.
| ||||||||||
abstract String |
getComputerName()
Returns the computer name that the process last existed on.
| ||||||||||
abstract int |
getExecutionMode()
Returns the execution mode of the process, from the enumeration
EnumExecutionMode . | ||||||||||
abstract int |
getExitCode()
Returns the exit code for the process the last time the process exited.
| ||||||||||
abstract String |
getExitMessage()
Returns the exit message for the process the last time the process exited.
| ||||||||||
abstract String |
getProcessCreationTime()
Returns the creation time of the server process corresponding to this instance on the server machine.
| ||||||||||
abstract int |
getProcessID()
Returns the ID of the server process corresponding to this instance on the server machine.
| ||||||||||
abstract int |
getServerType()
Returns the server type of the instance.
| ||||||||||
abstract int |
getState()
Returns the state of the instance.
| ||||||||||
abstract ServerVersionInfo |
getVersionInfo()
Returns an interface which can be used to get information about the version of the
server instance.
| ||||||||||
abstract void |
refresh()
Refreshes the status of the Server Instance.
|
Returns whether the instance supports pausing from its current state.
Returns the computer name that the process last existed on.
Returns the execution mode of the process, from the enumeration EnumExecutionMode
.
Returns the exit code for the process the last time the process exited. Note that if the server is currently running, then this will be 0.
Returns the exit message for the process the last time the process exited. Note that if the server is currently running, then this will be empty.
Returns the creation time of the server process corresponding to this instance on the server machine. If processExists returns false, this value will not be meaningful.
Returns the ID of the server process corresponding to this instance on the server machine. If processExists returns false, the value from this method will be meaningless.
Returns the server type of the instance. This is primarily useful as a guide to what interfaces this object can be cast to.
EnumServerTypes
.
Returns the state of the instance. This will be a value from the EnumServerState
enumeration.
The state of a server determines the operations which can be performed on it.
Returns an interface which can be used to get information about the version of the server instance.
ServerVersionInfo
object which can be used to obtain version information.Refreshes the status of the Server Instance.
ServerConfigException | Thrown if an error occurs when refreshing the status. |
---|