Package org.redisson.micronaut.session
Enum RedissonHttpSessionConfiguration.UpdateMode
- java.lang.Object
-
- java.lang.Enum<RedissonHttpSessionConfiguration.UpdateMode>
-
- org.redisson.micronaut.session.RedissonHttpSessionConfiguration.UpdateMode
-
- All Implemented Interfaces:
Serializable,Comparable<RedissonHttpSessionConfiguration.UpdateMode>
- Enclosing class:
- RedissonHttpSessionConfiguration
public static enum RedissonHttpSessionConfiguration.UpdateMode extends Enum<RedissonHttpSessionConfiguration.UpdateMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_REQUESTWRITE_BEHIND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RedissonHttpSessionConfiguration.UpdateModevalueOf(String name)Returns the enum constant of this type with the specified name.static RedissonHttpSessionConfiguration.UpdateMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRITE_BEHIND
public static final RedissonHttpSessionConfiguration.UpdateMode WRITE_BEHIND
-
AFTER_REQUEST
public static final RedissonHttpSessionConfiguration.UpdateMode AFTER_REQUEST
-
-
Method Detail
-
values
public static RedissonHttpSessionConfiguration.UpdateMode[] 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 (RedissonHttpSessionConfiguration.UpdateMode c : RedissonHttpSessionConfiguration.UpdateMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedissonHttpSessionConfiguration.UpdateMode 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
-
-