Class SyncConfigurationBuilder
- java.lang.Object
 - 
- org.infinispan.configuration.cache.SyncConfigurationBuilder
 
 
- 
- All Implemented Interfaces:
 Builder<SyncConfiguration>,ClusteringConfigurationChildBuilder,ConfigurationChildBuilder
@Deprecated public class SyncConfigurationBuilder extends Object implements Builder<SyncConfiguration>
Deprecated.Since 9.0, thereplTimeoutattribute is nowClusteringConfigurationBuilder.remoteTimeout.If configured all communications are synchronous, in that whenever a thread sends a message sent over the wire, it blocks until it receives an acknowledgment from the recipient. SyncConfig is mutually exclusive with the AsyncConfig. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ConfigurationBuilderbuilder 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedSyncConfigurationBuilder(ClusteringConfigurationBuilder builder)Deprecated. 
- 
Method Summary
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, encoding, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, versioning 
 - 
 
 - 
 
- 
- 
Field Detail
- 
builder
protected final ConfigurationBuilder builder
 
 - 
 
- 
Constructor Detail
- 
SyncConfigurationBuilder
protected SyncConfigurationBuilder(ClusteringConfigurationBuilder builder)
Deprecated. 
 - 
 
- 
Method Detail
- 
replTimeout
@Deprecated public SyncConfigurationBuilder replTimeout(long l)
Deprecated.Since 9.0, please useClusteringConfigurationBuilder.remoteTimeout(long).This is the timeout used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown. 
- 
replTimeout
@Deprecated public SyncConfigurationBuilder replTimeout(long l, TimeUnit unit)
Deprecated.Since 9.0, please useClusteringConfigurationBuilder.remoteTimeout(long, TimeUnit).This is the timeout used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown. 
- 
validate
public void validate()
Deprecated.Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
 validatein interfaceBuilder<SyncConfiguration>
 
- 
validate
public void validate(GlobalConfiguration globalConfig)
Deprecated.- Specified by:
 validatein interfaceConfigurationChildBuilder
 
- 
create
public SyncConfiguration create()
Deprecated.Description copied from interface:BuilderCreate the configuration bean- Specified by:
 createin interfaceBuilder<SyncConfiguration>- Returns:
 
 
- 
read
public SyncConfigurationBuilder read(SyncConfiguration template)
Deprecated.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<SyncConfiguration>- Parameters:
 template- the configuration from which to "clone" this config if needed.
 
- 
hash
public HashConfigurationBuilder hash()
Description copied from interface:ClusteringConfigurationChildBuilderAllows fine-tuning of rehashing characteristics. Must only used with 'distributed' cache mode.- Specified by:
 hashin interfaceClusteringConfigurationChildBuilder
 
- 
l1
public L1ConfigurationBuilder l1()
Description copied from interface:ClusteringConfigurationChildBuilderConfigures the L1 cache behavior in 'distributed' caches instances. In any other cache modes, this element is ignored.- Specified by:
 l1in interfaceClusteringConfigurationChildBuilder
 
- 
stateTransfer
public StateTransferConfigurationBuilder stateTransfer()
Description copied from interface:ClusteringConfigurationChildBuilderConfigures how state is transferred when a new cache joins the cluster. Used with distribution and replication clustered modes.- Specified by:
 stateTransferin interfaceClusteringConfigurationChildBuilder
 
- 
sync
public SyncConfigurationBuilder sync()
Description copied from interface:ClusteringConfigurationChildBuilderIf configured all communications are synchronous, in that whenever a thread sends a message sent over the wire, it blocks until it receives an acknowledgment from the recipient. SyncConfig is mutually exclusive with the AsyncConfig.- Specified by:
 syncin interfaceClusteringConfigurationChildBuilder
 
- 
partitionHandling
public PartitionHandlingConfigurationBuilder partitionHandling()
Description copied from interface:ClusteringConfigurationChildBuilderConfigures how the cache will react to cluster partitions.- Specified by:
 partitionHandlingin interfaceClusteringConfigurationChildBuilder
 
- 
getClusteringBuilder
protected ClusteringConfigurationBuilder getClusteringBuilder()
 
- 
template
public ConfigurationChildBuilder template(boolean template)
- Specified by:
 templatein interfaceConfigurationChildBuilder
 
- 
simpleCache
public ConfigurationChildBuilder simpleCache(boolean simpleCache)
- Specified by:
 simpleCachein interfaceConfigurationChildBuilder
 
- 
simpleCache
public boolean simpleCache()
- Specified by:
 simpleCachein interfaceConfigurationChildBuilder
 
- 
clustering
public ClusteringConfigurationBuilder clustering()
- Specified by:
 clusteringin interfaceConfigurationChildBuilder
 
- 
customInterceptors
public CustomInterceptorsConfigurationBuilder customInterceptors()
- Specified by:
 customInterceptorsin interfaceConfigurationChildBuilder
 
- 
dataContainer
public DataContainerConfigurationBuilder dataContainer()
- Specified by:
 dataContainerin interfaceConfigurationChildBuilder
 
- 
deadlockDetection
public DeadlockDetectionConfigurationBuilder deadlockDetection()
- Specified by:
 deadlockDetectionin interfaceConfigurationChildBuilder
 
- 
encoding
public EncodingConfigurationBuilder encoding()
- Specified by:
 encodingin interfaceConfigurationChildBuilder
 
- 
eviction
public EvictionConfigurationBuilder eviction()
- Specified by:
 evictionin interfaceConfigurationChildBuilder
 
- 
expiration
public ExpirationConfigurationBuilder expiration()
- Specified by:
 expirationin interfaceConfigurationChildBuilder
 
- 
indexing
public IndexingConfigurationBuilder indexing()
- Specified by:
 indexingin interfaceConfigurationChildBuilder
 
- 
invocationBatching
public InvocationBatchingConfigurationBuilder invocationBatching()
- Specified by:
 invocationBatchingin interfaceConfigurationChildBuilder
 
- 
jmxStatistics
public JMXStatisticsConfigurationBuilder jmxStatistics()
- Specified by:
 jmxStatisticsin interfaceConfigurationChildBuilder
 
- 
persistence
public PersistenceConfigurationBuilder persistence()
- Specified by:
 persistencein interfaceConfigurationChildBuilder
 
- 
locking
public LockingConfigurationBuilder locking()
- Specified by:
 lockingin interfaceConfigurationChildBuilder
 
- 
security
public SecurityConfigurationBuilder security()
- Specified by:
 securityin interfaceConfigurationChildBuilder
 
- 
storeAsBinary
@Deprecated public StoreAsBinaryConfigurationBuilder storeAsBinary()
Deprecated.- Specified by:
 storeAsBinaryin interfaceConfigurationChildBuilder
 
- 
transaction
public TransactionConfigurationBuilder transaction()
- Specified by:
 transactionin interfaceConfigurationChildBuilder
 
- 
versioning
public VersioningConfigurationBuilder versioning()
- Specified by:
 versioningin interfaceConfigurationChildBuilder
 
- 
unsafe
public UnsafeConfigurationBuilder unsafe()
- Specified by:
 unsafein interfaceConfigurationChildBuilder
 
- 
sites
public SitesConfigurationBuilder sites()
- Specified by:
 sitesin interfaceConfigurationChildBuilder
 
- 
compatibility
@Deprecated public CompatibilityModeConfigurationBuilder compatibility()
Deprecated.- Specified by:
 compatibilityin interfaceConfigurationChildBuilder
 
- 
memory
public MemoryConfigurationBuilder memory()
- Specified by:
 memoryin interfaceConfigurationChildBuilder
 
- 
getBuilder
protected ConfigurationBuilder getBuilder()
 
- 
build
public Configuration build()
- Specified by:
 buildin interfaceConfigurationChildBuilder
 
 - 
 
 -