public static enum NearCacheConfig.LocalUpdatePolicy extends Enum<NearCacheConfig.LocalUpdatePolicy>
Enum Constant and Description |
---|
CACHE
Deprecated.
since 3.8, please use
CACHE_ON_UPDATE |
CACHE_ON_UPDATE
A local put immediately adds the new value to the Near Cache.
|
INVALIDATE
A local put and local remove immediately invalidates the 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 © 2018 Hazelcast, Inc.. All rights reserved.