org.infinispan.loaders
Class LockSupportCacheStoreConfig

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.loaders.AbstractCacheLoaderConfig
              extended by org.infinispan.loaders.AbstractCacheStoreConfig
                  extended by org.infinispan.loaders.LockSupportCacheStoreConfig
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable, CacheLoaderConfig, CacheStoreConfig
Direct Known Subclasses:
AbstractJdbcCacheStoreConfig, CassandraCacheStoreConfig, CloudCacheStoreConfig, FileCacheStoreConfig, JdbmCacheStoreConfig

public class LockSupportCacheStoreConfig
extends AbstractCacheStoreConfig

Adds configuration support for LockSupportCacheStore.

Author:
Mircea.Markus@jboss.com
See Also:
Serialized Form

Field Summary
static int DEFAULT_CONCURRENCY_LEVEL
           
static int DEFAULT_LOCK_ACQUISITION_TIMEOUT
           
 
Fields inherited from class org.infinispan.loaders.AbstractCacheStoreConfig
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore
 
Fields inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig
cacheLoaderClassName, properties
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
overriddenConfigurationElements
 
Constructor Summary
LockSupportCacheStoreConfig()
           
 
Method Summary
 long getLockAcquistionTimeout()
           
 int getLockConcurrencyLevel()
          Returns number of threads expected to use this class concurrently.
 void setLockAcquistionTimeout(long lockAcquistionTimeout)
           
 void setLockConcurrencyLevel(int lockConcurrencyLevel)
          Sets number of threads expected to use this class concurrently.
 String toString()
           
 
Methods inherited from class org.infinispan.loaders.AbstractCacheStoreConfig
accept, asyncStore, clone, equals, equalsExcludingProperties, fetchPersistentState, getAsyncStoreConfig, getPurgerThreads, getSingletonStoreConfig, getTypedProperties, hashCode, hashCodeExcludingProperties, ignoreModifications, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, purgeOnStartup, purgerThreads, purgeSynchronously, setAsyncStoreConfig, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgerThreads, setPurgeSynchronously, setSingletonStoreConfig, setTypedProperties, singletonStore
 
Methods inherited from class org.infinispan.loaders.AbstractCacheLoaderConfig
getCacheLoaderClassName, getClassLoader, getProperties, setCacheLoaderClassName, setProperties, setProperties
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.infinispan.loaders.CacheLoaderConfig
getCacheLoaderClassName, getClassLoader, setCacheLoaderClassName
 

Field Detail

DEFAULT_CONCURRENCY_LEVEL

public static final int DEFAULT_CONCURRENCY_LEVEL
See Also:
Constant Field Values

DEFAULT_LOCK_ACQUISITION_TIMEOUT

public static final int DEFAULT_LOCK_ACQUISITION_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

LockSupportCacheStoreConfig

public LockSupportCacheStoreConfig()
Method Detail

getLockConcurrencyLevel

public int getLockConcurrencyLevel()
Returns number of threads expected to use this class concurrently.


setLockConcurrencyLevel

public void setLockConcurrencyLevel(int lockConcurrencyLevel)
Sets number of threads expected to use this class concurrently.


getLockAcquistionTimeout

public long getLockAcquistionTimeout()

setLockAcquistionTimeout

public void setLockAcquistionTimeout(long lockAcquistionTimeout)

toString

public String toString()
Overrides:
toString in class AbstractCacheStoreConfig

-->

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