|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IStoreBinding.StartupExpectation>
com.neeve.ods.IStoreBinding.StartupExpectation
public static enum IStoreBinding.StartupExpectation
Enumerates the set of startup expectations that can be requested.
This enumerates the various startup expectations that can be requested when opening a store. A startup expectation is an expectation of the state of a store and/or it environment when it is starting up. A store 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 a store's transaction log on startup. |
|
Role
Used to specify the expectation of a store binding's role on startup. |
Method Summary | |
---|---|
static IStoreBinding.StartupExpectation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IStoreBinding.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 IStoreBinding.StartupExpectation Role
This value is used to specify the expectation of an store binding's role
on startup. The permissible values associated with this expectation are
the enumerated store binding role values i.e. IStoreBinding.Role
.
public static final IStoreBinding.StartupExpectation LogEmptiness
This value is used to specify the expectation of the emptienss a store's transaction log. Permissible values are enumerated by the store persister's log emptiness expectation enumeration
Notes:
Note
IStorePersister.LogEmptinessExpectation
Method Detail |
---|
public static IStoreBinding.StartupExpectation[] values()
for (IStoreBinding.StartupExpectation c : IStoreBinding.StartupExpectation.values()) System.out.println(c);
public static IStoreBinding.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 |