Package com.tibco.tibjms.admin
Class StateInfo
- java.lang.Object
-
- com.tibco.tibjms.admin.StateInfo
-
public class StateInfo extends java.lang.ObjectThis class represents the FT state for a TIBCO Enterprise Message Service server, along with other information.- Since:
- EMS 8.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOverallSyncProgress()Get the current overall progress of the synchronization of store files for this server when it is running in the EMS Appliance.intgetProcessId()Get the current process id of the server.java.lang.StringgetServerName()Get the name of the server.StategetState()Get the current state of the server.VersionInfogetVersionInfo()Get the version of TIBCO Enterprise Message Service that the server binary is from.booleanisAppliance()Indicates whether or not this server instance is running in an appliancejava.lang.StringtoString()
-
-
-
Method Detail
-
getServerName
public java.lang.String getServerName()
Get the name of the server.- Returns:
- the name of the server.
- Since:
- EMS 8.1.0
-
isAppliance
public boolean isAppliance()
Indicates whether or not this server instance is running in an appliance- Returns:
- true if this server instance is running in an appliance, false otherwise.
- Since:
- EMS 8.1.0
-
getProcessId
public int getProcessId()
Get the current process id of the server.- Returns:
- the server process id.
- Since:
- EMS 8.1.0
-
getState
public State getState()
Get the current state of the server.- Returns:
- the State object representing the server's state.
- Since:
- EMS 8.1.0
-
getVersionInfo
public VersionInfo getVersionInfo()
Get the version of TIBCO Enterprise Message Service that the server binary is from.- Returns:
- the VersionInfo object representing the server's version.
- Since:
- EMS 8.1.0
-
getOverallSyncProgress
public int getOverallSyncProgress()
Get the current overall progress of the synchronization of store files for this server when it is running in the EMS Appliance.- Returns:
- the synchronization progress percentage as an integer between 0 and 100 or -1 either if no synchronization is ongoing or if requested from a server that is running outside the EMS Appliance
- Since:
- EMS 8.1.0
- See Also:
State.SERVER_COMPSTATE_SYNCHRONIZING
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Since:
- EMS 8.1.0
-
-