org.infinispan.configuration.cache
Class AbstractLockSupportStoreConfiguration
java.lang.Object
org.infinispan.configuration.AbstractTypedPropertiesConfiguration
org.infinispan.configuration.cache.AbstractLoaderConfiguration
org.infinispan.configuration.cache.AbstractStoreConfiguration
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
AbstractLockSupportStoreConfiguration
protected AbstractLockSupportStoreConfiguration(long lockAcquistionTimeout,
int lockConcurrencyLevel,
boolean purgeOnStartup,
boolean purgeSynchronously,
int purgerThreads,
boolean fetchPersistentState,
boolean ignoreModifications,
TypedProperties properties,
AsyncStoreConfiguration async,
SingletonStoreConfiguration singletonStore)
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.