public static enum NearCacheConfig.LocalUpdatePolicy extends Enum<NearCacheConfig.LocalUpdatePolicy>
Enum Constant and Description |
---|
CACHE
Deprecated.
|
CACHE_ON_UPDATE
Local put immediately adds new value to near cache.
|
INVALIDATE
Local put and local remove immediately invalidates near cache
|
Modifier and Type | Method and Description |
---|---|
static NearCacheConfig.LocalUpdatePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NearCacheConfig.LocalUpdatePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearCacheConfig.LocalUpdatePolicy INVALIDATE
public static final NearCacheConfig.LocalUpdatePolicy CACHE_ON_UPDATE
@Deprecated public static final NearCacheConfig.LocalUpdatePolicy CACHE
CACHE_ON_UPDATE
public static NearCacheConfig.LocalUpdatePolicy[] values()
for (NearCacheConfig.LocalUpdatePolicy c : NearCacheConfig.LocalUpdatePolicy.values()) System.out.println(c);
public static NearCacheConfig.LocalUpdatePolicy 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 © 2017 Hazelcast, Inc.. All Rights Reserved.