Enum TopologyMode
- java.lang.Object
-
- java.lang.Enum<TopologyMode>
-
- org.infinispan.remoting.inboundhandler.TopologyMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TopologyMode>
public enum TopologyMode extends Enum<TopologyMode>
It checks or waits until the required topology is installed.- Since:
- 8.0
- Author:
- Pedro Ruivo
-
-
Enum Constant Summary
Enum Constants Enum Constant Description READY_TOPOLOGY
READY_TX_DATA
WAIT_TOPOLOGY
WAIT_TX_DATA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TopologyMode
create(boolean onExecutor, boolean txData)
static TopologyMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TopologyMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAIT_TOPOLOGY
public static final TopologyMode WAIT_TOPOLOGY
-
READY_TOPOLOGY
public static final TopologyMode READY_TOPOLOGY
-
WAIT_TX_DATA
public static final TopologyMode WAIT_TX_DATA
-
READY_TX_DATA
public static final TopologyMode READY_TX_DATA
-
-
Method Detail
-
values
public static TopologyMode[] 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 (TopologyMode c : TopologyMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TopologyMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static TopologyMode create(boolean onExecutor, boolean txData)
-
-