|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IStoreJournallingPersister.StartupExpectation>
com.neeve.ods.IStoreJournallingPersister.StartupExpectation
public static enum IStoreJournallingPersister.StartupExpectation
Enumerates the set of supported journalling related startup expectations.
This enumerates the various startup expectations that can be requested when opening a journalling 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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
static IStoreJournallingPersister.StartupExpectation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IStoreJournallingPersister.StartupExpectation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IStoreJournallingPersister.StartupExpectation LogPresence
This value is used to specify the expectation of the presence of a
journalling persister's transaction log. Permissible values are enumerated
by the log presence expectation enumeration - IStoreJournallingPersister.LogPresenceExpectation
public static final IStoreJournallingPersister.StartupExpectation LogEmptiness
This value is used to specify the expectation of the emptiness of a
journalling persister's transaction log. Permissible values are enumerated
by the log emptiness expectation enumeration - IStoreJournallingPersister.LogEmptinessExpectation
Method Detail |
---|
public static IStoreJournallingPersister.StartupExpectation[] values()
for (IStoreJournallingPersister.StartupExpectation c : IStoreJournallingPersister.StartupExpectation.values()) System.out.println(c);
public static IStoreJournallingPersister.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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |