public class BackupForBuilder extends Object implements Builder<BackupForConfiguration>
Modifier and Type | Field and Description |
---|---|
protected ConfigurationBuilder |
builder |
Constructor and Description |
---|
BackupForBuilder(ConfigurationBuilder builder) |
protected final ConfigurationBuilder builder
public BackupForBuilder(ConfigurationBuilder builder)
public BackupForBuilder remoteSite(String siteName)
siteName
- the name of the remote site that backups data into this cache.public BackupForBuilder remoteCache(String name)
name
- the name of the remote cache that backups data into this cache.public BackupForBuilder defaultRemoteCache()
public void validate()
Builder
validate
in interface Builder<BackupForConfiguration>
public void validate(GlobalConfiguration globalConfig)
validate
in interface ConfigurationChildBuilder
public BackupForConfiguration create()
Builder
create
in interface Builder<BackupForConfiguration>
public BackupForBuilder read(BackupForConfiguration template)
Builder
read
in interface Builder<BackupForConfiguration>
template
- the configuration from which to "clone" this config if needed.public void reset()
public ConfigurationChildBuilder template(boolean template)
template
in interface ConfigurationChildBuilder
public ConfigurationChildBuilder simpleCache(boolean simpleCache)
simpleCache
in interface ConfigurationChildBuilder
public boolean simpleCache()
simpleCache
in interface ConfigurationChildBuilder
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 EncodingConfigurationBuilder encoding()
encoding
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 PersistenceConfigurationBuilder persistence()
persistence
in interface ConfigurationChildBuilder
public LockingConfigurationBuilder locking()
locking
in interface ConfigurationChildBuilder
public SecurityConfigurationBuilder security()
security
in interface ConfigurationChildBuilder
@Deprecated 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
public SitesConfigurationBuilder sites()
sites
in interface ConfigurationChildBuilder
public CompatibilityModeConfigurationBuilder compatibility()
compatibility
in interface ConfigurationChildBuilder
public MemoryConfigurationBuilder memory()
memory
in interface ConfigurationChildBuilder
protected ConfigurationBuilder getBuilder()
public Configuration build()
build
in interface ConfigurationChildBuilder
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.