|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Context>
org.eclipse.jgit.storage.dht.spi.Context
public enum Context
Options used when accessing a Database
.
Warning: This type may change from enumeration to class in the future.
Enum Constant Summary | |
---|---|
FAST_MISSING_OK
Perform a fast read, but may miss results. |
|
LOCAL
Read from a local replica. |
|
READ_REPAIR
Repair the local replica if a read failed. |
Method Summary | |
---|---|
static Context |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Context[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Context FAST_MISSING_OK
public static final Context LOCAL
public static final Context READ_REPAIR
Method Detail |
---|
public static Context[] values()
for (Context c : Context.values()) System.out.println(c);
public static Context 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |