|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.sib.Reliability
public final class Reliability
Reliability is a type-safe enumeration for Reliability quality of service values.
Field Summary | |
---|---|
static Reliability |
ASSURED_PERSISTENT
Constant denoting DeliveryMode Type - Assured Persistent |
static java.lang.String |
ASSURED_PERSISTENT_STRING
Constant naming DeliveryMode Type - Assured Persistent. |
static Reliability |
BEST_EFFORT_NONPERSISTENT
Constant denoting DeliveryMode Type - Best Effort Non-persistent |
static java.lang.String |
BEST_EFFORT_NONPERSISTENT_STRING
Constant naming DeliveryMode Type - Best Effort Non-persistent. |
static Reliability |
EXPRESS_NONPERSISTENT
Constant denoting DeliveryMode Type - Express Non-persistent |
static java.lang.String |
EXPRESS_NONPERSISTENT_STRING
Constant naming DeliveryMode Type - Express Non-persistent. |
static int |
MAX_INDEX
Constant denoting the maximum index. |
static Reliability |
NONE
Constant denoting a currently unknown or no persistence type |
static Reliability |
RELIABLE_NONPERSISTENT
Constant denoting DeliveryMode Type - Reliable Non-persistent |
static java.lang.String |
RELIABLE_NONPERSISTENT_STRING
Constant naming DeliveryMode Type - Reliable Non-persistent. |
static Reliability |
RELIABLE_PERSISTENT
Constant denoting DeliveryMode Type - Reliable Persistent |
static java.lang.String |
RELIABLE_PERSISTENT_STRING
Constant naming DeliveryMode Type - Reliable Persistent. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object other)
Compare this Reliability with another. |
int |
getIndex()
Returns the index of the Reliability. |
java.lang.Byte |
getPersistence()
Returns the JMS Persistence value for the Reliability. |
static Reliability |
getReliability(java.lang.Byte aValue)
Returns the corresponding Reliability for a given Byte. |
static Reliability |
getReliability(int aValue)
Returns the corresponding Reliability for a given integer. |
static Reliability |
getReliabilityByIndex(int mpIndex)
Returns the corresponding Reliability for a given index. |
static Reliability |
getReliabilityByName(java.lang.String name)
Returns the corresponding Reliability for a given name. |
java.lang.Byte |
toByte()
Returns the Byte representation of the Reliability. |
int |
toInt()
Returns the integer representation of the Reliability. |
java.lang.String |
toString()
Returns the name of the Reliability. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BEST_EFFORT_NONPERSISTENT_STRING
public static final java.lang.String EXPRESS_NONPERSISTENT_STRING
public static final java.lang.String RELIABLE_NONPERSISTENT_STRING
public static final java.lang.String RELIABLE_PERSISTENT_STRING
public static final java.lang.String ASSURED_PERSISTENT_STRING
public static final Reliability NONE
public static final Reliability BEST_EFFORT_NONPERSISTENT
public static final Reliability EXPRESS_NONPERSISTENT
public static final Reliability RELIABLE_NONPERSISTENT
public static final Reliability RELIABLE_PERSISTENT
public static final Reliability ASSURED_PERSISTENT
public static final int MAX_INDEX
Method Detail |
---|
public final java.lang.String toString()
toString
in class java.lang.Object
public final int compareTo(java.lang.Object other)
The method implements java.util.Comaparable.compareTo and therefore has the same semantics.
compareTo
in interface java.lang.Comparable
other
- The Reliability this is to be compared with.
public static final Reliability getReliability(int aValue)
aValue
- The integer for which an Reliability is required.
public final int toInt()
public static final Reliability getReliabilityByName(java.lang.String name) throws java.lang.NullPointerException, java.lang.IllegalArgumentException
name
- The toString value of a Reliability constant.
java.lang.NullPointerException
java.lang.IllegalArgumentException
public static final Reliability getReliabilityByIndex(int mpIndex)
mpIndex
- The MP index for which an Reliability is required. MP use
-1 for NONE and start at 0 for real values.
public final int getIndex()
public static final Reliability getReliability(java.lang.Byte aValue)
aValue
- The Byte for which an Reliability is required.
public final java.lang.Byte toByte()
public final java.lang.Byte getPersistence()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |