Serializable, Comparable<ReplicationTrigger>public enum ReplicationTrigger extends Enum<ReplicationTrigger>
| Enum Constant | Description |
|---|---|
ACCESS |
Merely accessing the session marks the session as dirty
|
SET |
Only calling setAttribute() marks the session as dirty
|
SET_AND_GET |
Calling setAttribute() or getAttribute() marks the session as dirty
|
SET_AND_NON_PRIMITIVE_GET |
Calling setAttribute() marks the session as dirty, as does getAttribute()
if the returned type is not String or Number
|
| Modifier and Type | Method | Description |
|---|---|---|
static ReplicationTrigger |
fromInt(int ordinal) |
|
static ReplicationTrigger |
fromString(String policy) |
|
static ReplicationTrigger |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ReplicationTrigger[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationTrigger ACCESS
public static final ReplicationTrigger SET_AND_GET
public static final ReplicationTrigger SET_AND_NON_PRIMITIVE_GET
public static final ReplicationTrigger SET
public static ReplicationTrigger[] values()
for (ReplicationTrigger c : ReplicationTrigger.values()) System.out.println(c);
public static ReplicationTrigger valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ReplicationTrigger fromString(String policy)
public static ReplicationTrigger fromInt(int ordinal)
Copyright © 2018 JBoss by Red Hat. All rights reserved.