public static enum IStorePersister.StartupExpectation extends Enum<IStorePersister.StartupExpectation>
This enumerates the various startup expectations that can be requested when opening a persister. A startup expectation is an expectation of the state of the transaction log and/or it environment when the persister is starting up. A persister provided an expectation when starting will fail to start if the expectation is not met.
Enum Constant and Description |
---|
LogEmptiness
Used to specify the expectation of the emptiness of the transaction log.
|
LogPresence
Used to specify the expectation of the presence of the transaction log.
|
Modifier and Type | Method and Description |
---|---|
static IStorePersister.StartupExpectation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IStorePersister.StartupExpectation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStorePersister.StartupExpectation LogPresence
This value is used to specify the expectation of the presence of a persister's
transaction log. Permissible values are enumerated by the log presence expectation
enumeration i.e. IStorePersister.LogPresenceExpectation
public static final IStorePersister.StartupExpectation LogEmptiness
This value is used to specify the expectation of the emptiness of a persister's
transaction log. Permissible values are enumerated by the log emptiness expectation
enumeration i.e. IStorePersister.LogEmptinessExpectation
public static IStorePersister.StartupExpectation[] values()
for (IStorePersister.StartupExpectation c : IStorePersister.StartupExpectation.values()) System.out.println(c);
public static IStorePersister.StartupExpectation 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 nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.