public class LoaderConfigurationBuilder extends AbstractLoaderConfigurationBuilder<LoaderConfiguration> implements LoaderConfigurationChildBuilder
async, singletonStore
async, singletonStore
getLoadersBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
async, singletonStore
build, clustering, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, loaders, locking, storeAsBinary, transaction, unsafe, versioning
loaders
public LoaderConfigurationBuilder cacheLoader(CacheLoader cacheLoader)
cacheLoader
- public LoaderConfigurationBuilder fetchPersistentState(boolean b)
public LoaderConfigurationBuilder ignoreModifications(boolean b)
public LoaderConfigurationBuilder purgeOnStartup(boolean b)
public LoaderConfigurationBuilder purgerThreads(int i)
public LoaderConfigurationBuilder purgeSynchronously(boolean b)
public LoaderConfigurationBuilder addProperty(String key, String value)
Defines a single property. Can be used multiple times to define all needed properties, but the
full set is overridden by withProperties(Properties)
.
These properties are passed directly to the cache loader.
public LoaderConfigurationBuilder withProperties(Properties props)
These properties are passed directly to the cache loader.
withProperties
in class AbstractLoaderConfigurationBuilder<LoaderConfiguration>
public LoaderConfigurationBuilder read(LoaderConfiguration template)
public ClusteringConfigurationBuilder clustering()
clustering
in interface ConfigurationChildBuilder
public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors
in interface ConfigurationChildBuilder
public DataContainerConfigurationBuilder dataContainer()
dataContainer
in interface ConfigurationChildBuilder
public DeadlockDetectionConfigurationBuilder deadlockDetection()
deadlockDetection
in interface ConfigurationChildBuilder
public EvictionConfigurationBuilder eviction()
eviction
in interface ConfigurationChildBuilder
public ExpirationConfigurationBuilder expiration()
expiration
in interface ConfigurationChildBuilder
public IndexingConfigurationBuilder indexing()
indexing
in interface ConfigurationChildBuilder
public InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching
in interface ConfigurationChildBuilder
public JMXStatisticsConfigurationBuilder jmxStatistics()
jmxStatistics
in interface ConfigurationChildBuilder
public LoadersConfigurationBuilder loaders()
loaders
in interface ConfigurationChildBuilder
public LockingConfigurationBuilder locking()
locking
in interface ConfigurationChildBuilder
public StoreAsBinaryConfigurationBuilder storeAsBinary()
storeAsBinary
in interface ConfigurationChildBuilder
public TransactionConfigurationBuilder transaction()
transaction
in interface ConfigurationChildBuilder
public VersioningConfigurationBuilder versioning()
versioning
in interface ConfigurationChildBuilder
public UnsafeConfigurationBuilder unsafe()
unsafe
in interface ConfigurationChildBuilder
protected ConfigurationBuilder getBuilder()
public Configuration build()
build
in interface ConfigurationChildBuilder
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.