org.infinispan.config
Interface FluentConfiguration.StateRetrievalConfig

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

Deprecated.

@Deprecated
public static interface FluentConfiguration.StateRetrievalConfig
extends FluentConfiguration.ClusteringConfig

Configures how state is retrieved when a new cache joins the cluster. Used with invalidation and replication clustered modes.


Method Summary
 FluentConfiguration.StateRetrievalConfig alwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
          Deprecated. If true, this will allow the cache to provide in-memory state to a neighbor, even if the cache is not configured to fetch state from its neighbors (fetchInMemoryState is false)
 Configuration build()
          Deprecated.  
 FluentConfiguration.StateRetrievalConfig chunkSize(Integer chunkSize)
          Deprecated. Size of a state transfer chunk, in cache entries.
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
          Deprecated.  
 FluentConfiguration.DataContainerConfig dataContainer()
          Deprecated.  
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          Deprecated. This method allows configuration of the deadlock detection.
 FluentConfiguration.EvictionConfig eviction()
          Deprecated.  
 FluentConfiguration.ExpirationConfig expiration()
          Deprecated.  
 FluentConfiguration.StateRetrievalConfig fetchInMemoryState(Boolean fetchInMemoryState)
          Deprecated. If true, this will cause the cache to ask neighboring caches for state when it starts up, so the cache starts 'warm', although it will impact startup time.
 FluentConfiguration.IndexingConfig indexing()
          Deprecated. This method allows configuration of the indexing subsystem.
 FluentConfiguration.StateRetrievalConfig initialRetryWaitTime(Long initialRetryWaitTime)
          Deprecated. Initial wait time when backing off before retrying state transfer retrieval
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          Deprecated.  
 FluentConfiguration.StateRetrievalConfig logFlushTimeout(Long logFlushTimeout)
          Deprecated. This is the maximum amount of time to run a cluster-wide flush, to allow for syncing of transaction logs.
 FluentConfiguration.StateRetrievalConfig maxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
          Deprecated. This is the maximum number of non-progressing transaction log writes after which a brute-force flush approach is resorted to, to synchronize transaction logs.
 FluentConfiguration.StateRetrievalConfig numRetries(Integer numRetries)
          Deprecated. Number of state retrieval retries before giving up and aborting startup.
 FluentConfiguration.StateRetrievalConfig retryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
          Deprecated. Wait time increase factor over successive state retrieval backoffs
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.StateRetrievalConfig timeout(Long timeout)
          Deprecated. This is the maximum amount of time - in milliseconds - to wait for state from neighboring caches, before throwing an exception and aborting startup.
 FluentConfiguration.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 
Methods inherited from interface org.infinispan.config.FluentConfiguration.ClusteringConfig
async, hash, l1, mode, stateRetrieval, sync
 

Method Detail

fetchInMemoryState

FluentConfiguration.StateRetrievalConfig fetchInMemoryState(Boolean fetchInMemoryState)
Deprecated. 
If true, this will cause the cache to ask neighboring caches for state when it starts up, so the cache starts 'warm', although it will impact startup time.

Parameters:
fetchInMemoryState -

alwaysProvideInMemoryState

FluentConfiguration.StateRetrievalConfig alwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
Deprecated. 
If true, this will allow the cache to provide in-memory state to a neighbor, even if the cache is not configured to fetch state from its neighbors (fetchInMemoryState is false)

Parameters:
alwaysProvideInMemoryState -

initialRetryWaitTime

FluentConfiguration.StateRetrievalConfig initialRetryWaitTime(Long initialRetryWaitTime)
Deprecated. 
Initial wait time when backing off before retrying state transfer retrieval

Parameters:
initialRetryWaitTime -

retryWaitTimeIncreaseFactor

FluentConfiguration.StateRetrievalConfig retryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
Deprecated. 
Wait time increase factor over successive state retrieval backoffs

Parameters:
retryWaitTimeIncreaseFactor -

numRetries

FluentConfiguration.StateRetrievalConfig numRetries(Integer numRetries)
Deprecated. 
Number of state retrieval retries before giving up and aborting startup.

Parameters:
numRetries -

timeout

FluentConfiguration.StateRetrievalConfig timeout(Long timeout)
Deprecated. 
This is the maximum amount of time - in milliseconds - to wait for state from neighboring caches, before throwing an exception and aborting startup.

Parameters:
timeout -

logFlushTimeout

FluentConfiguration.StateRetrievalConfig logFlushTimeout(Long logFlushTimeout)
Deprecated. 
This is the maximum amount of time to run a cluster-wide flush, to allow for syncing of transaction logs.

Parameters:
logFlushTimeout -

maxNonProgressingLogWrites

FluentConfiguration.StateRetrievalConfig maxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
Deprecated. 
This is the maximum number of non-progressing transaction log writes after which a brute-force flush approach is resorted to, to synchronize transaction logs.

Parameters:
maxNonProgressingLogWrites -

chunkSize

FluentConfiguration.StateRetrievalConfig chunkSize(Integer chunkSize)
Deprecated. 
Size of a state transfer chunk, in cache entries.


locking

FluentConfiguration.LockingConfig locking()
Deprecated. 

loaders

FluentConfiguration.LoadersConfig loaders()
Deprecated. 

transaction

FluentConfiguration.TransactionConfig transaction()
Deprecated. 

deadlockDetection

FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
Deprecated. 
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()
Deprecated. 

eviction

FluentConfiguration.EvictionConfig eviction()
Deprecated. 

expiration

FluentConfiguration.ExpirationConfig expiration()
Deprecated. 

clustering

FluentConfiguration.ClusteringConfig clustering()
Deprecated. 

indexing

FluentConfiguration.IndexingConfig indexing()
Deprecated. 
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()
Deprecated. 

unsafe

FluentConfiguration.UnsafeConfig unsafe()
Deprecated. 

jmxStatistics

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


storeAsBinary

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


invocationBatching

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


versioning

FluentConfiguration.VersioningConfig versioning()
Deprecated. 

build

Configuration build()
Deprecated. 

-->

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