org.infinispan.config
Interface FluentConfiguration.SyncConfig

All Superinterfaces:
FluentConfiguration.ClusteringConfig
All Known Implementing Classes:
Configuration.SyncType
Enclosing class:
FluentConfiguration

public static interface FluentConfiguration.SyncConfig
extends FluentConfiguration.ClusteringConfig

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.


Method Summary
 Configuration build()
           
 FluentConfiguration.ClusteringConfig clustering()
           
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
           
 FluentConfiguration.DataContainerConfig dataContainer()
           
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          This method allows configuration of the deadlock detection.
 FluentConfiguration.EvictionConfig eviction()
           
 FluentConfiguration.ExpirationConfig expiration()
           
 FluentConfiguration.IndexingConfig indexing()
          This method allows configuration of the indexing subsystem.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          This method allows configuration of invocation batching.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          This method allows configuration of jmx statistics.
 FluentConfiguration.LoadersConfig loaders()
           
 FluentConfiguration.LockingConfig locking()
           
 FluentConfiguration.SyncConfig replTimeout(Long replTimeout)
          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.
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          This method allows configuration of lazy deserialization.
 FluentConfiguration.TransactionConfig transaction()
           
 FluentConfiguration.UnsafeConfig unsafe()
           
 
Methods inherited from interface org.infinispan.config.FluentConfiguration.ClusteringConfig
async, hash, l1, mode, stateRetrieval, sync
 

Method Detail

replTimeout

FluentConfiguration.SyncConfig replTimeout(Long replTimeout)
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.

Parameters:
replTimeout -

locking

FluentConfiguration.LockingConfig locking()

loaders

FluentConfiguration.LoadersConfig loaders()

transaction

FluentConfiguration.TransactionConfig transaction()

deadlockDetection

FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
This method allows configuration of the deadlock detection. When this method is called, it automatically enables deadlock detection. So, if you want it to be disabled, make sure you call FluentConfiguration.DeadlockDetectionConfig.disable()


customInterceptors

FluentConfiguration.CustomInterceptorsConfig customInterceptors()

eviction

FluentConfiguration.EvictionConfig eviction()

expiration

FluentConfiguration.ExpirationConfig expiration()

clustering

FluentConfiguration.ClusteringConfig clustering()

indexing

FluentConfiguration.IndexingConfig indexing()
This method allows configuration of the indexing subsystem. When this method is called, it automatically enables indexing. So, if you want it to be disabled, make sure you call FluentConfiguration.IndexingConfig.disable()


dataContainer

FluentConfiguration.DataContainerConfig dataContainer()

unsafe

FluentConfiguration.UnsafeConfig unsafe()

jmxStatistics

FluentConfiguration.JmxStatisticsConfig jmxStatistics()
This method allows configuration of jmx statistics. When this method is called, it automatically enables jmx statistics.


storeAsBinary

FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
This method allows configuration of lazy deserialization. When this method is called, it automatically enables lazy deserialization.


invocationBatching

FluentConfiguration.InvocationBatchingConfig invocationBatching()
This method allows configuration of invocation batching. When this method is called, it automatically enables invocation batching.


build

Configuration build()

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.