com.ibm.net.rdma.jverbs.verbs
Enum DeviceAttribute.AtomicLimit
- java.lang.Object
-
- java.lang.Enum<DeviceAttribute.AtomicLimit>
-
- com.ibm.net.rdma.jverbs.verbs.DeviceAttribute.AtomicLimit
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DeviceAttribute.AtomicLimit>
- Enclosing class:
- DeviceAttribute
public static enum DeviceAttribute.AtomicLimit extends java.lang.Enum<DeviceAttribute.AtomicLimit>
Defines various supported atomic operations constants.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description IBV_ATOMIC_GLOBAtomicity is guaranteed between this device and any other component, such as CPUs and other devicesIBV_ATOMIC_HCAAtomicity is guaranteed between QPs on this device only.IBV_ATOMIC_NONEAtomic operations are not supported at all.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static DeviceAttribute.AtomicLimitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeviceAttribute.AtomicLimit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IBV_ATOMIC_GLOB
public static final DeviceAttribute.AtomicLimit IBV_ATOMIC_GLOB
Atomicity is guaranteed between this device and any other component, such as CPUs and other devices
-
IBV_ATOMIC_HCA
public static final DeviceAttribute.AtomicLimit IBV_ATOMIC_HCA
Atomicity is guaranteed between QPs on this device only.
-
IBV_ATOMIC_NONE
public static final DeviceAttribute.AtomicLimit IBV_ATOMIC_NONE
Atomic operations are not supported at all.
-
-
Method Detail
-
valueOf
public static DeviceAttribute.AtomicLimit valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
values
public static DeviceAttribute.AtomicLimit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeviceAttribute.AtomicLimit c : DeviceAttribute.AtomicLimit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
-