@Deprecated public static enum Configuration.CacheMode extends Enum<Configuration.CacheMode>
Enum Constant and Description |
---|
DIST_ASYNC
Deprecated.
Async DIST
|
DIST_SYNC
Deprecated.
Synchronous DIST
|
INVALIDATION_ASYNC
Deprecated.
Data invalidated asynchronously.
|
INVALIDATION_SYNC
Deprecated.
Data invalidated synchronously.
|
LOCAL
Deprecated.
Data is not replicated.
|
REPL_ASYNC
Deprecated.
Data replicated asynchronously.
|
REPL_SYNC
Deprecated.
Data replicated synchronously.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isClustered()
Deprecated.
|
boolean |
isDistributed()
Deprecated.
|
boolean |
isInvalidation()
Deprecated.
Returns true if the mode is invalidation, either sync or async.
|
boolean |
isReplicated()
Deprecated.
|
boolean |
isSynchronous()
Deprecated.
|
Configuration.CacheMode |
toAsync()
Deprecated.
|
Configuration.CacheMode |
toSync()
Deprecated.
|
static Configuration.CacheMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Configuration.CacheMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
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 nameNullPointerException
- 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()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.