public enum EjectionMethod extends Enum<EjectionMethod>
The ejection method used on the bucket.
Value Ejection needs more system memory, but provides the best performance. Full Ejection reduces the memory overhead requirement.
Enum Constant and Description |
---|
FULL
During ejection, everything (including key, metadata, and value)
will be ejected.
|
VALUE
During ejection, only the value will be ejected
(key and metadata will remain in memory).
|
Modifier and Type | Method and Description |
---|---|
static EjectionMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EjectionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EjectionMethod VALUE
public static final EjectionMethod FULL
public static EjectionMethod[] values()
for (EjectionMethod c : EjectionMethod.values()) System.out.println(c);
public static EjectionMethod 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 © 2015 Couchbase, Inc.