public static enum Mappings.ReverseCacheMode extends java.lang.Enum<Mappings.ReverseCacheMode>
| Enum Constant and Description |
|---|
IMMUTABLE
Create an immutable reverse copy of the mappings.
If any new mappings are added, the reverse will not be updated. This causes no overhead if new mappings are added, but the reversed mappings will be outdated. |
RECREATE
Recreate the reverse mappings if any new mappings are added.
This will cause overhead if new mappings are added. |
STANDALONE
Create a standalone reverse copy of the mappings.
They will not be linked and changes to either side will not affect the other. |
UPDATE
Update the reverse mappings if new mappings are added.
This reduces the performance overhead of fully reversing the mappings if fields or methods are added. |
| Modifier and Type | Method and Description |
|---|---|
static Mappings.ReverseCacheMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mappings.ReverseCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mappings.ReverseCacheMode UPDATE
public static final Mappings.ReverseCacheMode RECREATE
public static final Mappings.ReverseCacheMode IMMUTABLE
public static final Mappings.ReverseCacheMode STANDALONE
public static Mappings.ReverseCacheMode[] values()
for (Mappings.ReverseCacheMode c : Mappings.ReverseCacheMode.values()) System.out.println(c);
public static Mappings.ReverseCacheMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null