com.ibm.itim.apps.provisioning

Class ServiceStatusDetail

  • java.lang.Object
    • com.ibm.itim.apps.provisioning.ServiceStatusDetail
  • All Implemented Interfaces:
    java.io.Serializable


    public class ServiceStatusDetail
    extends java.lang.Object
    implements java.io.Serializable
    Value object containing detailed status information about the service.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ServiceStatusDetail(DistinguishedName serviceDN, ServiceStatus status, java.util.Date lastAccessTime, java.util.Date firstFailTime, java.util.Date oldestRequestFailTime, java.lang.String oldestRequestId, long oldestRequestProcessId, long oldestRequestRootProcessId, int blockedRequestCount, java.lang.String lastFailureReason, java.lang.String lastServer)
      Constructs a service status detail object.
    • Constructor Detail

      • ServiceStatusDetail

        public ServiceStatusDetail(DistinguishedName serviceDN,
                                   ServiceStatus status,
                                   java.util.Date lastAccessTime,
                                   java.util.Date firstFailTime,
                                   java.util.Date oldestRequestFailTime,
                                   java.lang.String oldestRequestId,
                                   long oldestRequestProcessId,
                                   long oldestRequestRootProcessId,
                                   int blockedRequestCount,
                                   java.lang.String lastFailureReason,
                                   java.lang.String lastServer)
        Constructs a service status detail object.
        Parameters:
        serviceDN - DistingiushedName of the service
        status - ServiceStatus summarizing the status of the service
        lastAccessTime - Last time an attempt was made to reach the service
        firstFailTime - Time at which service first failed
        oldestRequestFailTime - Time at which oldest request in queue last failed
        oldestRequestID - Process ID of oldest request
        blockedRequestCount - Number of requests that are blocked
        lastFailureReason - Message ID explaining cause of the last failure
        lastServer - Last server that used this service
    • Method Detail

      • getServiceDN

        public DistinguishedName getServiceDN()
        Returns the service distinguished name
        Returns:
        Service distinguished name
      • setServiceStatus

        public void setServiceStatus(ServiceStatus newStatus)
        Updates the summary ServiceStatus for the service. This method changes the value only in this object, not its state on the server.
        Parameters:
        newStatus - updated ServiceStatus
      • getServiceStatus

        public ServiceStatus getServiceStatus()
        Returns the service status
        Returns:
        service status
      • getLastAccessTime

        public java.util.Date getLastAccessTime()
        Returns last time an attempt was made to reach the server.
        Returns:
        last time an attempt was made to reach the server
      • getFirstFailTime

        public java.util.Date getFirstFailTime()
        Returns time at which service first failed.
        Returns:
        time at which service first failed
      • getOldestRequestFailTime

        public java.util.Date getOldestRequestFailTime()
        Returns time at which oldest blocked request failed.
        Returns:
        time at which oldest blocked request failed
      • getOldestRequestId

        public java.lang.String getOldestRequestId()
        Returns the identifier of the oldest blocked request in queue, typically a "long" workflow activity identifier.
        Returns:
        identifier of oldest blocked request or null if none
      • getOldestRequestProcessId

        public long getOldestRequestProcessId()
        Returns the process identifier of the oldest blocked request in queue
        Returns:
        process identifier of oldest blocked request or zero if none
      • getOldestRequestRootProcessId

        public long getOldestRequestRootProcessId()
        Returns the root process identifier of the oldest blocked request in queue
        Returns:
        process identifier of oldest blocked request or zero if none
      • getBlockedRequestCount

        public int getBlockedRequestCount()
        Returns number of requests that are blocked
        Returns:
        number of requests that are blocked
      • getLastFailureReason

        public java.lang.String getLastFailureReason()
        Returns an XML encoded message explaining cause of the last failure
        Returns:
        message explaining cause of the last failure
      • getLastServer

        public java.lang.String getLastServer()
        Returns identifier for the last server that used this service. Servers are identified in the format "cellName/nodeName/serverName".
        Returns:
        last WAS server that used this service
      • toString

        public java.lang.String toString()
        Returns a string representation of the service status
        Overrides:
        toString in class java.lang.Object
        Returns:
        String version of service status