public class Custom52xCacheStoreConfig extends LockSupportCacheStoreConfig
Modifier and Type | Class and Description |
---|---|
static class |
Custom52xCacheStoreConfig.FsyncMode |
static class |
Custom52xCacheStoreConfig.FsyncModeEditor
Property editor for fsync mode configuration.
|
DEFAULT_CONCURRENCY_LEVEL, DEFAULT_LOCK_ACQUISITION_TIMEOUT
async, fetchPersistentState, ignoreModifications, purgeOnStartup, purgerThreads, purgeSynchronously, singletonStore
cacheLoaderClassName, properties
cr
overriddenConfigurationElements
Constructor and Description |
---|
Custom52xCacheStoreConfig() |
Modifier and Type | Method and Description |
---|---|
Custom52xCacheStoreConfig |
fetchPersistentState(Boolean fetchPersistentState)
If true, fetch persistent state when joining a cluster.
|
Custom52xCacheStoreConfig |
fsyncInterval(long fsyncInterval) |
Custom52xCacheStoreConfig |
fsyncMode(Custom52xCacheStoreConfig.FsyncMode fsyncMode) |
long |
getFsyncInterval() |
Custom52xCacheStoreConfig.FsyncMode |
getFsyncMode() |
String |
getLocation() |
int |
getStreamBufferSize() |
Custom52xCacheStoreConfig |
ignoreModifications(Boolean ignoreModifications)
If true, any operation that modifies the cache (put, remove, clear, store...etc) won't be
applied to the cache store.
|
Custom52xCacheStoreConfig |
location(String location) |
Custom52xCacheStoreConfig |
purgeOnStartup(Boolean purgeOnStartup)
If true, purges this cache store when it starts up.
|
Custom52xCacheStoreConfig |
purgeSynchronously(Boolean purgeSynchronously)
If true, CacheStore#purgeExpired() call will be done synchronously
|
void |
setFsyncInterval(long fsyncInterval) |
void |
setFsyncMode(Custom52xCacheStoreConfig.FsyncMode fsyncMode) |
void |
setLocation(String location)
Deprecated.
The visibility of this will be reduced, use
location(String) |
void |
setStreamBufferSize(int streamBufferSize)
Deprecated.
The visibility of this will be reduced, use
streamBufferSize(int) instead |
Custom52xCacheStoreConfig |
streamBufferSize(int streamBufferSize) |
getLockAcquistionTimeout, getLockConcurrencyLevel, setLockAcquistionTimeout, setLockConcurrencyLevel, toString
accept, asyncStore, clone, equals, equalsExcludingProperties, getAsyncStoreConfig, getPurgerThreads, getSingletonStoreConfig, getTypedProperties, hashCode, hashCodeExcludingProperties, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, purgerThreads, setAsyncStoreConfig, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgerThreads, setPurgeSynchronously, setSingletonStoreConfig, setTypedProperties, singletonStore
getCacheLoaderClassName, getClassLoader, getProperties, setCacheLoaderClassName, setProperties, setProperties
hasComponentStarted, inject
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
finalize, getClass, notify, notifyAll, wait, wait, wait
getCacheLoaderClassName, getClassLoader, setCacheLoaderClassName
public String getLocation()
@Deprecated public void setLocation(String location)
location(String)
public Custom52xCacheStoreConfig location(String location)
public int getStreamBufferSize()
@Deprecated public void setStreamBufferSize(int streamBufferSize)
streamBufferSize(int)
insteadpublic Custom52xCacheStoreConfig streamBufferSize(int streamBufferSize)
public Custom52xCacheStoreConfig purgeOnStartup(Boolean purgeOnStartup)
AbstractCacheStoreConfig
purgeOnStartup
in interface CacheStoreConfig
purgeOnStartup
in class AbstractCacheStoreConfig
public Custom52xCacheStoreConfig purgeSynchronously(Boolean purgeSynchronously)
AbstractCacheStoreConfig
purgeSynchronously
in interface CacheStoreConfig
purgeSynchronously
in class AbstractCacheStoreConfig
public Custom52xCacheStoreConfig fetchPersistentState(Boolean fetchPersistentState)
AbstractCacheStoreConfig
fetchPersistentState
in interface CacheStoreConfig
fetchPersistentState
in class AbstractCacheStoreConfig
public Custom52xCacheStoreConfig ignoreModifications(Boolean ignoreModifications)
AbstractCacheStoreConfig
ignoreModifications
in interface CacheStoreConfig
ignoreModifications
in class AbstractCacheStoreConfig
public long getFsyncInterval()
public void setFsyncInterval(long fsyncInterval)
public Custom52xCacheStoreConfig fsyncInterval(long fsyncInterval)
public Custom52xCacheStoreConfig.FsyncMode getFsyncMode()
public void setFsyncMode(Custom52xCacheStoreConfig.FsyncMode fsyncMode)
public Custom52xCacheStoreConfig fsyncMode(Custom52xCacheStoreConfig.FsyncMode fsyncMode)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.