public enum NearCacheMode extends Enum<NearCacheMode>
Enum Constant and Description |
---|
DISABLED
Near caching is disabled.
|
INVALIDATED
Near cache is invalidated, so when entries are updated or removed
server-side, invalidation messages will be sent to clients to remove
them from the near cache.
|
Modifier and Type | Method and Description |
---|---|
boolean |
enabled() |
boolean |
invalidated() |
static NearCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NearCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearCacheMode DISABLED
public static final NearCacheMode INVALIDATED
public static NearCacheMode[] values()
for (NearCacheMode c : NearCacheMode.values()) System.out.println(c);
public static NearCacheMode 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 boolean enabled()
public boolean invalidated()
Copyright © 2021 JBoss by Red Hat. All rights reserved.