org.infinispan.configuration.cache
Class AbstractLockSupportStoreConfiguration

java.lang.Object
  extended by org.infinispan.configuration.AbstractTypedPropertiesConfiguration
      extended by org.infinispan.configuration.cache.AbstractLoaderConfiguration
          extended by org.infinispan.configuration.cache.AbstractStoreConfiguration
              extended by org.infinispan.configuration.cache.AbstractLockSupportStoreConfiguration
All Implemented Interfaces:
CacheLoaderConfiguration, CacheStoreConfiguration, LockSupportStoreConfiguration
Direct Known Subclasses:
AbstractJdbcCacheStoreConfiguration, FileCacheStoreConfiguration, JpaCacheStoreConfiguration, LevelDBCacheStoreConfiguration

public abstract class AbstractLockSupportStoreConfiguration
extends AbstractStoreConfiguration
implements LockSupportStoreConfiguration

Lock supporting cache store configuration.

Since:
5.1
Author:
Galder ZamarreƱo

Constructor Summary
protected AbstractLockSupportStoreConfiguration(long lockAcquistionTimeout, int lockConcurrencyLevel, boolean purgeOnStartup, boolean purgeSynchronously, int purgerThreads, boolean fetchPersistentState, boolean ignoreModifications, TypedProperties properties, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 long lockAcquistionTimeout()
          The timeout in milliseconds before giving up on acquiring a lock
 int lockConcurrencyLevel()
          This value determines the number of threads that can concurrently access the lock container
 
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore
 
Methods inherited from class org.infinispan.configuration.AbstractTypedPropertiesConfiguration
properties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infinispan.configuration.cache.CacheStoreConfiguration
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore
 
Methods inherited from interface org.infinispan.configuration.cache.CacheLoaderConfiguration
properties
 

Constructor Detail

AbstractLockSupportStoreConfiguration

protected AbstractLockSupportStoreConfiguration(long lockAcquistionTimeout,
                                                int lockConcurrencyLevel,
                                                boolean purgeOnStartup,
                                                boolean purgeSynchronously,
                                                int purgerThreads,
                                                boolean fetchPersistentState,
                                                boolean ignoreModifications,
                                                TypedProperties properties,
                                                AsyncStoreConfiguration async,
                                                SingletonStoreConfiguration singletonStore)
Method Detail

lockAcquistionTimeout

public long lockAcquistionTimeout()
Description copied from interface: LockSupportStoreConfiguration
The timeout in milliseconds before giving up on acquiring a lock

Specified by:
lockAcquistionTimeout in interface LockSupportStoreConfiguration
Returns:

lockConcurrencyLevel

public int lockConcurrencyLevel()
Description copied from interface: LockSupportStoreConfiguration
This value determines the number of threads that can concurrently access the lock container

Specified by:
lockConcurrencyLevel in interface LockSupportStoreConfiguration
Returns:

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractStoreConfiguration

-->

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