public enum UpdateType extends java.lang.Enum<UpdateType>
Enumerates the valid types of things that can cause a
WriteAheadRepository to update its state
| Enum Constant and Description |
|---|
CREATE
Used when a new Record has been created
|
DELETE
Used to indicate that a Record has been deleted and should be removed
from the Repository
|
SWAP_IN
Used to indicate that a Record that was previously Swapped Out is now
being Swapped In
|
SWAP_OUT
Used to indicate that a Record still exists but has been moved elsewhere,
so that it is no longer maintained by the WALI instance
|
UPDATE
Used when a Record has been updated in some way
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateType CREATE
public static final UpdateType UPDATE
public static final UpdateType DELETE
public static final UpdateType SWAP_OUT
public static final UpdateType SWAP_IN
public static UpdateType[] values()
for (UpdateType c : UpdateType.values()) System.out.println(c);
public static UpdateType 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