org.csapi.jr.se.fw
Class SvcAvailStatusReason

java.lang.Object
  extended byorg.csapi.jr.se.fw.SvcAvailStatusReason
All Implemented Interfaces:
java.io.Serializable

public final class SvcAvailStatusReason
extends java.lang.Object
implements java.io.Serializable

Defines the reason detailing the change in status of Service Instance availability. Note 1: The client application must act to reset its use of the specified service instance (using the normal mechanisms, such as the discovery and authentication interfaces, to stop use of this service instance and begin use of a different service instance). Note 2: The "expected" recovery time could be defined within the SLA.

See Also:
Serialized Form

Field Summary
static int _SVC_AVAILABLE
          The Service has become available again
static int _SVC_UNAVAILABLE_CLOSED
          The Service Instance has closed itself (for example to protect from fraud or malicious attack).
static int _SVC_UNAVAILABLE_GATEWAY_FAILURE
          The gateway API software or hardware has failed.
static int _SVC_UNAVAILABLE_LOCAL_FAILURE
          The Local API software or hardware has failed.
static int _SVC_UNAVAILABLE_NO_RESPONSE
          The Framework has detected that a Service Instance has failed: for example non-response from an activity test, failure to return heartbeats.
static int _SVC_UNAVAILABLE_OVERLOADED
          The Service Instance is fully overloaded.
static int _SVC_UNAVAILABLE_SW_UPGRADE
          The Service Instance is unavailable due to software upgrade or other similar maintenance.
static int _SVC_UNAVAILABLE_UNDEFINED
          Undefined.
static SvcAvailStatusReason SVC_AVAILABLE
          The Service has become available again
static SvcAvailStatusReason SVC_UNAVAILABLE_CLOSED
          The Service Instance has closed itself (for example to protect from fraud or malicious attack).
static SvcAvailStatusReason SVC_UNAVAILABLE_GATEWAY_FAILURE
          The gateway API software or hardware has failed.
static SvcAvailStatusReason SVC_UNAVAILABLE_LOCAL_FAILURE
          The Local API software or hardware has failed.
static SvcAvailStatusReason SVC_UNAVAILABLE_NO_RESPONSE
          The Framework has detected that a Service Instance has failed: for example non-response from an activity test, failure to return heartbeats.
static SvcAvailStatusReason SVC_UNAVAILABLE_OVERLOADED
          The Service Instance is fully overloaded.
static SvcAvailStatusReason SVC_UNAVAILABLE_SW_UPGRADE
          The Service Instance is unavailable due to software upgrade or other similar maintenance.
static SvcAvailStatusReason SVC_UNAVAILABLE_UNDEFINED
          Undefined.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static SvcAvailStatusReason getObject(int value)
          Accepts values in the range of 0 to 7
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_SVC_UNAVAILABLE_UNDEFINED

public static final int _SVC_UNAVAILABLE_UNDEFINED
Undefined. A permanent failure. See Note 1.

See Also:
Constant Field Values

SVC_UNAVAILABLE_UNDEFINED

public static final SvcAvailStatusReason SVC_UNAVAILABLE_UNDEFINED
Undefined. A permanent failure. See Note 1.


_SVC_UNAVAILABLE_LOCAL_FAILURE

public static final int _SVC_UNAVAILABLE_LOCAL_FAILURE
The Local API software or hardware has failed. A permanent failure. See Note 1.

See Also:
Constant Field Values

SVC_UNAVAILABLE_LOCAL_FAILURE

public static final SvcAvailStatusReason SVC_UNAVAILABLE_LOCAL_FAILURE
The Local API software or hardware has failed. A permanent failure. See Note 1.


_SVC_UNAVAILABLE_GATEWAY_FAILURE

public static final int _SVC_UNAVAILABLE_GATEWAY_FAILURE
The gateway API software or hardware has failed. A permanent failure. See Note 1.

See Also:
Constant Field Values

SVC_UNAVAILABLE_GATEWAY_FAILURE

public static final SvcAvailStatusReason SVC_UNAVAILABLE_GATEWAY_FAILURE
The gateway API software or hardware has failed. A permanent failure. See Note 1.


_SVC_UNAVAILABLE_OVERLOADED

public static final int _SVC_UNAVAILABLE_OVERLOADED
The Service Instance is fully overloaded. A temporary problem. See Note 2.

See Also:
Constant Field Values

SVC_UNAVAILABLE_OVERLOADED

public static final SvcAvailStatusReason SVC_UNAVAILABLE_OVERLOADED
The Service Instance is fully overloaded. A temporary problem. See Note 2.


_SVC_UNAVAILABLE_CLOSED

public static final int _SVC_UNAVAILABLE_CLOSED
The Service Instance has closed itself (for example to protect from fraud or malicious attack). A permanent failure. See Note 1.

See Also:
Constant Field Values

SVC_UNAVAILABLE_CLOSED

public static final SvcAvailStatusReason SVC_UNAVAILABLE_CLOSED
The Service Instance has closed itself (for example to protect from fraud or malicious attack). A permanent failure. See Note 1.


_SVC_UNAVAILABLE_NO_RESPONSE

public static final int _SVC_UNAVAILABLE_NO_RESPONSE
The Framework has detected that a Service Instance has failed: for example non-response from an activity test, failure to return heartbeats. A permanent failure. See Note 1.

See Also:
Constant Field Values

SVC_UNAVAILABLE_NO_RESPONSE

public static final SvcAvailStatusReason SVC_UNAVAILABLE_NO_RESPONSE
The Framework has detected that a Service Instance has failed: for example non-response from an activity test, failure to return heartbeats. A permanent failure. See Note 1.


_SVC_UNAVAILABLE_SW_UPGRADE

public static final int _SVC_UNAVAILABLE_SW_UPGRADE
The Service Instance is unavailable due to software upgrade or other similar maintenance. A permanent failure. See Note 1.

See Also:
Constant Field Values

SVC_UNAVAILABLE_SW_UPGRADE

public static final SvcAvailStatusReason SVC_UNAVAILABLE_SW_UPGRADE
The Service Instance is unavailable due to software upgrade or other similar maintenance. A permanent failure. See Note 1.


_SVC_AVAILABLE

public static final int _SVC_AVAILABLE
The Service has become available again

See Also:
Constant Field Values

SVC_AVAILABLE

public static final SvcAvailStatusReason SVC_AVAILABLE
The Service has become available again

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the SvcAvailStatusReason object

getObject

public static SvcAvailStatusReason getObject(int value)
                                      throws InvalidEnumValueException
Accepts values in the range of 0 to 7

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.