public static enum Journal.PreallocationStrategy extends Enum<Journal.PreallocationStrategy>
Enum Constant and Description |
---|
CHUNKED_ZEROS |
OS_KERNEL_COPY |
SPARSE_FILE |
ZEROS |
Modifier and Type | Method and Description |
---|---|
static Journal.PreallocationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Journal.PreallocationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Journal.PreallocationStrategy SPARSE_FILE
public static final Journal.PreallocationStrategy OS_KERNEL_COPY
public static final Journal.PreallocationStrategy ZEROS
public static final Journal.PreallocationStrategy CHUNKED_ZEROS
public static Journal.PreallocationStrategy[] values()
for (Journal.PreallocationStrategy c : Journal.PreallocationStrategy.values()) System.out.println(c);
public static Journal.PreallocationStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–2017 The Apache Software Foundation. All rights reserved.