Enum Attribute
- java.lang.Object
-
- java.lang.Enum<Attribute>
-
- org.infinispan.server.configuration.memcached.Attribute
-
- All Implemented Interfaces:
Serializable,Comparable<Attribute>
public enum Attribute extends Enum<Attribute>
- Since:
- 10.0
- Author:
- Tristan Tarrant
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHECACHE_CONTAINERCLIENT_ENCODINGIDLE_TIMEOUTIO_THREADSNAMESOCKET_BINDINGUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeforName(String localName)StringtoString()static AttributevalueOf(String name)Returns the enum constant of this type with the specified name.static Attribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Attribute UNKNOWN
-
CACHE
public static final Attribute CACHE
-
CACHE_CONTAINER
public static final Attribute CACHE_CONTAINER
-
CLIENT_ENCODING
public static final Attribute CLIENT_ENCODING
-
IDLE_TIMEOUT
public static final Attribute IDLE_TIMEOUT
-
IO_THREADS
public static final Attribute IO_THREADS
-
NAME
public static final Attribute NAME
-
SOCKET_BINDING
public static final Attribute SOCKET_BINDING
-
-
Method Detail
-
values
public static Attribute[] 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 (Attribute c : Attribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attribute 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
-
-