Enum Interceptor.Order
- java.lang.Object
-
- java.lang.Enum<Interceptor.Order>
-
- com.tangosol.net.events.annotation.Interceptor.Order
-
- All Implemented Interfaces:
Serializable,Comparable<Interceptor.Order>
- Enclosing class:
- Interceptor
public static enum Interceptor.Order extends Enum<Interceptor.Order>
This enum provides an indication of whether theEventInterceptorshould request to be first in the chain ofEventInterceptors, hence have a HIGH priority.- Since:
- 12.1.2
- Author:
- hr 2011.10.05
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHIndicates an intention to be higher in the chain ofEventInterceptors.LOWIndicates that theEventInterceptoris not concerned with where in the chain it resides.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Interceptor.OrdervalueOf(String name)Returns the enum constant of this type with the specified name.static Interceptor.Order[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIGH
public static final Interceptor.Order HIGH
Indicates an intention to be higher in the chain ofEventInterceptors.
-
LOW
public static final Interceptor.Order LOW
Indicates that theEventInterceptoris not concerned with where in the chain it resides.
-
-
Method Detail
-
values
public static Interceptor.Order[] 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 (Interceptor.Order c : Interceptor.Order.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Interceptor.Order 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
-
-