Class RecoveryConfigurationBuilder
java.lang.Object
org.infinispan.configuration.cache.AbstractTransportConfigurationChildBuilder
org.infinispan.configuration.cache.RecoveryConfigurationBuilder
- All Implemented Interfaces:
Builder<RecoveryConfiguration>,ConfigurationChildBuilder,TransactionConfigurationChildBuilder
public class RecoveryConfigurationBuilder
extends AbstractTransportConfigurationChildBuilder
implements Builder<RecoveryConfiguration>
Defines recovery configuration for the cache.
- Author:
- pmuir
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()create()Create the configuration beanDeprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsdisable()Disable recovery for this cacheenable()Enable recovery for this cacheenabled(boolean enabled) Enable recovery for this cacheencoding()protected ConfigurationBuilderindexing()locking()memory()query()read(RecoveryConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.recoveryInfoCacheName(String recoveryInfoName) Sets the name of the cache where recovery related information is held.security()booleansimpleCache(boolean simpleCache) sites()template(boolean template) toString()unsafe()voidvalidate()Validate the data in this builder before building the configuration beanvoidvalidate(GlobalConfiguration globalConfig) Methods inherited from class org.infinispan.configuration.cache.AbstractTransportConfigurationChildBuilder
recoveryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, query, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe
-
Field Details
-
builder
-
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<RecoveryConfiguration>
-
enable
Enable recovery for this cache -
disable
Disable recovery for this cache -
enabled
Enable recovery for this cache -
recoveryInfoCacheName
Sets the name of the cache where recovery related information is held. If not specified defaults to a cache namedRecoveryConfiguration.DEFAULT_RECOVERY_INFO_CACHE -
validate
public void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
validatein interfaceBuilder<RecoveryConfiguration>
-
validate
- Specified by:
validatein interfaceConfigurationChildBuilder
-
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<RecoveryConfiguration>- Returns:
-
read
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<RecoveryConfiguration>- Parameters:
template- the configuration from which to "clone" this config if needed.combine- the way attributes and children of this instance and the template should be combined.
-
toString
-
template
- Specified by:
templatein interfaceConfigurationChildBuilder
-
simpleCache
- Specified by:
simpleCachein interfaceConfigurationChildBuilder
-
simpleCache
public boolean simpleCache()- Specified by:
simpleCachein interfaceConfigurationChildBuilder
-
clustering
- Specified by:
clusteringin interfaceConfigurationChildBuilder
-
customInterceptors
Deprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptors- Specified by:
customInterceptorsin interfaceConfigurationChildBuilder
-
encoding
- Specified by:
encodingin interfaceConfigurationChildBuilder
-
expiration
- Specified by:
expirationin interfaceConfigurationChildBuilder
-
query
- Specified by:
queryin interfaceConfigurationChildBuilder
-
indexing
- Specified by:
indexingin interfaceConfigurationChildBuilder
-
invocationBatching
- Specified by:
invocationBatchingin interfaceConfigurationChildBuilder
-
statistics
- Specified by:
statisticsin interfaceConfigurationChildBuilder
-
persistence
- Specified by:
persistencein interfaceConfigurationChildBuilder
-
locking
- Specified by:
lockingin interfaceConfigurationChildBuilder
-
security
- Specified by:
securityin interfaceConfigurationChildBuilder
-
transaction
- Specified by:
transactionin interfaceConfigurationChildBuilder
-
unsafe
- Specified by:
unsafein interfaceConfigurationChildBuilder
-
sites
- Specified by:
sitesin interfaceConfigurationChildBuilder
-
memory
- Specified by:
memoryin interfaceConfigurationChildBuilder
-
getBuilder
-
build
- Specified by:
buildin interfaceConfigurationChildBuilder
-