org.infinispan.config
Enum Configuration.CacheMode

java.lang.Object
  extended by java.lang.Enum<Configuration.CacheMode>
      extended by org.infinispan.config.Configuration.CacheMode
All Implemented Interfaces:
Serializable, Comparable<Configuration.CacheMode>
Enclosing class:
Configuration

Deprecated.

@Deprecated
public static enum Configuration.CacheMode
extends Enum<Configuration.CacheMode>

Cache replication mode.


Enum Constant Summary
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.
 
Method Summary
 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.
 
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

LOCAL

public static final Configuration.CacheMode LOCAL
Deprecated. 
Data is not replicated.


REPL_SYNC

public static final Configuration.CacheMode REPL_SYNC
Deprecated. 
Data replicated synchronously.


REPL_ASYNC

public static final Configuration.CacheMode REPL_ASYNC
Deprecated. 
Data replicated asynchronously.


INVALIDATION_SYNC

public static final Configuration.CacheMode INVALIDATION_SYNC
Deprecated. 
Data invalidated synchronously.


INVALIDATION_ASYNC

public static final Configuration.CacheMode INVALIDATION_ASYNC
Deprecated. 
Data invalidated asynchronously.


DIST_SYNC

public static final Configuration.CacheMode DIST_SYNC
Deprecated. 
Synchronous DIST


DIST_ASYNC

public static final Configuration.CacheMode DIST_ASYNC
Deprecated. 
Async DIST

Method Detail

values

public static Configuration.CacheMode[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Configuration.CacheMode c : Configuration.CacheMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Configuration.CacheMode valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isInvalidation

public boolean isInvalidation()
Deprecated. 
Returns true if the mode is invalidation, either sync or async.


isSynchronous

public boolean isSynchronous()
Deprecated. 

isClustered

public boolean isClustered()
Deprecated. 

isDistributed

public boolean isDistributed()
Deprecated. 

isReplicated

public boolean isReplicated()
Deprecated. 

toSync

public Configuration.CacheMode toSync()
Deprecated. 

toAsync

public Configuration.CacheMode toAsync()
Deprecated. 

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.