public enum CopyFlags extends java.lang.Enum<CopyFlags> implements MaskedFlag
Env.copy(java.io.File, org.lmdbjava.CopyFlags...)
.Enum Constant and Description |
---|
MDB_CP_COMPACT
Compacting copy: Omit free space from copy, and renumber all pages
sequentially.
|
Modifier and Type | Method and Description |
---|---|
int |
getMask()
Obtains the integer value for this enum which can be included in a mask.
|
static CopyFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CopyFlags[] |
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, valueOf
isSet, mask
public static final CopyFlags MDB_CP_COMPACT
public static CopyFlags[] values()
for (CopyFlags c : CopyFlags.values()) System.out.println(c);
public static CopyFlags 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()
MaskedFlag
getMask
in interface MaskedFlag
Copyright © 2016–2018 The LmdbJava Open Source Project. All rights reserved.