|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Configuration.CacheMode> org.infinispan.config.Configuration.CacheMode
public static enum Configuration.CacheMode
Cache replication mode.
Enum Constant Summary | |
---|---|
DIST_ASYNC
Async DIST |
|
DIST_SYNC
Synchronous DIST |
|
INVALIDATION_ASYNC
Data invalidated asynchronously. |
|
INVALIDATION_SYNC
Data invalidated synchronously. |
|
LOCAL
Data is not replicated. |
|
REPL_ASYNC
Data replicated asynchronously. |
|
REPL_SYNC
Data replicated synchronously. |
Method Summary | |
---|---|
boolean |
isClustered()
|
boolean |
isDistributed()
|
boolean |
isInvalidation()
Returns true if the mode is invalidation, either sync or async. |
boolean |
isReplicated()
|
boolean |
isSynchronous()
|
Configuration.CacheMode |
toAsync()
|
Configuration.CacheMode |
toSync()
|
static Configuration.CacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Configuration.CacheMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Configuration.CacheMode LOCAL
public static final Configuration.CacheMode REPL_SYNC
public static final Configuration.CacheMode REPL_ASYNC
public static final Configuration.CacheMode INVALIDATION_SYNC
public static final Configuration.CacheMode INVALIDATION_ASYNC
public static final Configuration.CacheMode DIST_SYNC
public static final Configuration.CacheMode DIST_ASYNC
Method Detail |
---|
public static Configuration.CacheMode[] values()
for (Configuration.CacheMode c : Configuration.CacheMode.values()) System.out.println(c);
public static Configuration.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 name
NullPointerException
- if the argument is nullpublic boolean isInvalidation()
public boolean isSynchronous()
public boolean isClustered()
public boolean isDistributed()
public boolean isReplicated()
public Configuration.CacheMode toSync()
public Configuration.CacheMode toAsync()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |