public enum CacheDeserializedValues extends Enum<CacheDeserializedValues>
Portable
serialization or
InMemoryFormat.OBJECT
format is used.Enum Constant and Description |
---|
ALWAYS
Always cache de-serialized values
|
INDEX_ONLY
Cache values only when using search indexes.
|
NEVER
Never cache de-serialized value
|
Modifier and Type | Method and Description |
---|---|
static CacheDeserializedValues |
parseString(String string)
Create instance from String
|
static CacheDeserializedValues |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheDeserializedValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheDeserializedValues NEVER
public static final CacheDeserializedValues INDEX_ONLY
public static final CacheDeserializedValues ALWAYS
public static CacheDeserializedValues[] values()
for (CacheDeserializedValues c : CacheDeserializedValues.values()) System.out.println(c);
public static CacheDeserializedValues 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 nullpublic static CacheDeserializedValues parseString(String string)
string
- CacheDeserializedValues
IllegalArgumentException
- when unknown value is passedCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.