public static enum NearCacheConfig.LocalUpdatePolicy extends Enum<NearCacheConfig.LocalUpdatePolicy>
Enum Constant and Description |
---|
CACHE_ON_UPDATE
While local remove immediately invalidates
Near Cache, local put adds new value to it.
|
INVALIDATE
Local put and local remove
immediately invalidate 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
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 © 2023 Hazelcast, Inc.. All rights reserved.