public enum CacheMode extends Enum<CacheMode>
| Enum Constant and Description |
|---|
ASYNCINVALIDATION
Data invalidated asynchronously.
|
ASYNCREPLICATION
Data replicated asynchronously.
|
DISTRIBUTED
Synchronous DIST
|
LOCAL
Data is not replicated.
|
NONE
Data is not replicated.
|
REPLICATION
Data replicated synchronously.
|
SYNCINVALIDATION
Data invalidated synchronously.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
isDistributed() |
boolean |
isInvalidated() |
boolean |
isLocal() |
boolean |
isReplicated() |
boolean |
isSync() |
static CacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheMode NONE
public static final CacheMode LOCAL
public static final CacheMode REPLICATION
public static final CacheMode ASYNCREPLICATION
public static final CacheMode ASYNCINVALIDATION
public static final CacheMode SYNCINVALIDATION
public static final CacheMode DISTRIBUTED
public static CacheMode[] values()
for (CacheMode c : CacheMode.values()) System.out.println(c);
public static CacheMode 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 isReplicated()
public boolean isInvalidated()
public boolean isDistributed()
public boolean isLocal()
public String getName()
public boolean isSync()
Copyright © 2021 eXo Platform SAS. All Rights Reserved.