public class AsyncStoreConfigurationBuilder<S> extends AbstractStoreConfigurationChildBuilder<S> implements Builder<AsyncStoreConfiguration>, ConfigurationBuilderInfo
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties, writeOnlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBuilderInfo, getChildrenInfo, getNewBuilderInfobuild, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafepersistencepublic AsyncStoreConfigurationBuilder<S> enable()
public AsyncStoreConfigurationBuilder<S> disable()
public AsyncStoreConfigurationBuilder<S> enabled(boolean enabled)
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public AsyncStoreConfigurationBuilder<S> modificationQueueSize(int i)
@Deprecated public AsyncStoreConfigurationBuilder<S> threadPoolSize(int i)
public AsyncStoreConfigurationBuilder<S> failSilently(boolean failSilently)
failSilently - If true, the async store attempts to perform write operations only
as many times as configured with `connection-attempts` in the PersistenceConfiguration.
If all attempts fail, the errors are ignored and the write operations are not executed
on the store.
If false, write operations that fail are attempted again when the underlying store
becomes available. If the modification queue becomes full before the underlying
store becomes available, an error is thrown on all future write operations to the store
until the modification queue is flushed. The modification queue is not persisted. If the
underlying store does not become available before the Async store is stopped, queued
modifications are lost.public void validate()
Buildervalidate in interface Builder<AsyncStoreConfiguration>public void validate(GlobalConfiguration globalConfig)
validate in interface ConfigurationChildBuilderpublic AsyncStoreConfiguration create()
Buildercreate in interface Builder<AsyncStoreConfiguration>public AsyncStoreConfigurationBuilder<S> read(AsyncStoreConfiguration template)
Builderread in interface Builder<AsyncStoreConfiguration>template - the configuration from which to "clone" this config if needed.public ConfigurationChildBuilder template(boolean template)
template in interface ConfigurationChildBuilderpublic ConfigurationChildBuilder simpleCache(boolean simpleCache)
simpleCache in interface ConfigurationChildBuilderpublic boolean simpleCache()
simpleCache in interface ConfigurationChildBuilderpublic ClusteringConfigurationBuilder clustering()
clustering in interface ConfigurationChildBuilder@Deprecated public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors in interface ConfigurationChildBuilderpublic EncodingConfigurationBuilder encoding()
encoding in interface ConfigurationChildBuilderpublic ExpirationConfigurationBuilder expiration()
expiration in interface ConfigurationChildBuilderpublic IndexingConfigurationBuilder indexing()
indexing in interface ConfigurationChildBuilderpublic InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching in interface ConfigurationChildBuilderpublic StatisticsConfigurationBuilder statistics()
statistics in interface ConfigurationChildBuilderpublic PersistenceConfigurationBuilder persistence()
persistence in interface ConfigurationChildBuilderpublic LockingConfigurationBuilder locking()
locking in interface ConfigurationChildBuilderpublic SecurityConfigurationBuilder security()
security in interface ConfigurationChildBuilderpublic TransactionConfigurationBuilder transaction()
transaction in interface ConfigurationChildBuilderpublic UnsafeConfigurationBuilder unsafe()
unsafe in interface ConfigurationChildBuilderpublic SitesConfigurationBuilder sites()
sites in interface ConfigurationChildBuilderpublic MemoryConfigurationBuilder memory()
memory in interface ConfigurationChildBuilderprotected ConfigurationBuilder getBuilder()
public Configuration build()
build in interface ConfigurationChildBuilderCopyright © 2021 JBoss by Red Hat. All rights reserved.