org.infinispan.configuration.cache
Class ClusteringConfiguration

java.lang.Object
  extended by org.infinispan.configuration.cache.ClusteringConfiguration

public class ClusteringConfiguration
extends Object

Defines clustered characteristics of the cache.

Author:
pmuir

Method Summary
 AsyncConfiguration async()
          Configure async sub element.
 CacheMode cacheMode()
          Cache mode.
 String cacheModeString()
           
 boolean equals(Object o)
           
 HashConfiguration hash()
          Configure hash sub element
 int hashCode()
           
 L1Configuration l1()
          This method allows configuration of the L1 cache for distributed caches.
 StateTransferConfiguration stateTransfer()
           
 SyncConfiguration sync()
          Configure sync sub element.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

cacheMode

public CacheMode cacheMode()
Cache mode. See CacheMode for information on the various cache modes available.


cacheModeString

public String cacheModeString()

async

public AsyncConfiguration async()
Configure async sub element. Once this method is invoked users cannot subsequently invoke sync() as two are mutually exclusive


hash

public HashConfiguration hash()
Configure hash sub element


l1

public L1Configuration l1()
This method allows configuration of the L1 cache for distributed caches. When this method is called, it automatically enables L1. So, if you want it to be disabled, make sure you call L1ConfigurationBuilder.disable()


sync

public SyncConfiguration sync()
Configure sync sub element. Once this method is invoked users cannot subsequently invoke async() as two are mutually exclusive


stateTransfer

public StateTransferConfiguration stateTransfer()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

-->

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