public enum TxnFlags extends java.lang.Enum<TxnFlags> implements MaskedFlag
Txn.| Enum Constant and Description |
|---|
MDB_RDONLY_TXN
Read only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMask()
Obtains the integer value for this enum which can be included in a mask.
|
static TxnFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TxnFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisSet, maskpublic static final TxnFlags MDB_RDONLY_TXN
public static TxnFlags[] values()
for (TxnFlags c : TxnFlags.values()) System.out.println(c);
public static TxnFlags 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 nullpublic int getMask()
MaskedFlaggetMask in interface MaskedFlagCopyright © 2016–2018 The LmdbJava Open Source Project. All rights reserved.