org.infinispan.config
Class Configuration.StateRetrievalType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.config.Configuration.StateRetrievalType
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, FluentConfiguration.ClusteringConfig, FluentConfiguration.StateRetrievalConfig, JAXBUnmarshallable
Enclosing class:
Configuration

Deprecated.

@Deprecated
public static class Configuration.StateRetrievalType
extends AbstractNamedCacheConfigurationBean
implements FluentConfiguration.StateRetrievalConfig

Configures how state is retrieved when a new cache joins the cluster. This element is only used with invalidation and replication clustered modes.

See Also:
Configuration reference, Serialized Form

Field Summary
protected  Boolean alwaysProvideInMemoryState
          Deprecated.  
protected  Integer chunkSize
          Deprecated.  
protected  Boolean fetchInMemoryState
          Deprecated.  
protected  Long initialRetryWaitTime
          Deprecated.  
protected  Long logFlushTimeout
          Deprecated.  
protected  Integer maxNonProgressingLogWrites
          Deprecated.  
protected  Integer numRetries
          Deprecated.  
protected  Integer retryWaitTimeIncreaseFactor
          Deprecated.  
protected  Long timeout
          Deprecated.  
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
overriddenConfigurationElements
 
Constructor Summary
Configuration.StateRetrievalType()
          Deprecated.  
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
          Deprecated.  
 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)
 FluentConfiguration.AsyncConfig async()
          Deprecated.  
 Configuration build()
          Deprecated.  
 Configuration build()
          Deprecated.  
 FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
          Deprecated.  
 FluentConfiguration.StateRetrievalConfig chunkSize(Integer chunkSize)
          Deprecated. Size of a state transfer chunk, in cache entries.
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.ClusteringConfig clustering()
          Deprecated.  
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
          Deprecated.  
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
          Deprecated.  
 FluentConfiguration.DataContainerConfig dataContainer()
          Deprecated.  
 FluentConfiguration.DataContainerConfig dataContainer()
          Deprecated.  
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          Deprecated. This method allows configuration of the deadlock detection.
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          Deprecated. This method allows configuration of the deadlock detection.
 FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
          Deprecated.  
 boolean equals(Object o)
          Deprecated.  
 FluentConfiguration.EvictionConfig eviction()
          Deprecated.  
 FluentConfiguration.EvictionConfig eviction()
          Deprecated.  
 FluentConfiguration.ExpirationConfig expiration()
          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.
 Integer getChunkSize()
          Deprecated.  
 Long getInitialRetryWaitTime()
          Deprecated.  
 Long getLogFlushTimeout()
          Deprecated.  
 Integer getMaxNonProgressingLogWrites()
          Deprecated.  
 Integer getNumRetries()
          Deprecated.  
 Integer getRetryWaitTimeIncreaseFactor()
          Deprecated.  
 Long getTimeout()
          Deprecated.  
 FluentConfiguration.HashConfig hash()
          Deprecated.  
 int hashCode()
          Deprecated.  
 FluentConfiguration.IndexingConfig indexing()
          Deprecated. This method allows configuration of the indexing subsystem.
 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.InvocationBatchingConfig invocationBatching()
          Deprecated. This method allows configuration of invocation batching.
 Boolean isAlwaysProvideInMemoryState()
          Deprecated.  
 Boolean isFetchInMemoryState()
          Deprecated.  
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          Deprecated. This method allows configuration of jmx statistics.
 FluentConfiguration.L1Config l1()
          Deprecated.  
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LoadersConfig loaders()
          Deprecated.  
 FluentConfiguration.LockingConfig locking()
          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.ClusteringConfig mode(Configuration.CacheMode mode)
          Deprecated.  
 FluentConfiguration.StateRetrievalConfig numRetries(Integer numRetries)
          Deprecated. Number of state retrieval retries before giving up and aborting startup.
 FluentConfiguration.RecoveryConfig recovery()
          Deprecated.  
 FluentConfiguration.StateRetrievalConfig retryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
          Deprecated. Wait time increase factor over successive state retrieval backoffs
 void setAlwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
          Deprecated. The visibility of this will be reduced, use alwaysProvideInMemoryState(Boolean) instead
 void setChunkSize(Integer chunkSize)
          Deprecated.  
protected  org.infinispan.config.AbstractFluentConfigurationBean setConfiguration(Configuration config)
          Deprecated.  
 void setFetchInMemoryState(Boolean fetchInMemoryState)
          Deprecated. The visibility of this will be reduced, use fetchInMemoryState(Boolean) instead
 void setInitialRetryWaitTime(Long initialRetryWaitTime)
          Deprecated. The visibility of this will be reduced, use initialRetryWaitTime(Long) instead
 void setLogFlushTimeout(Long logFlushTimeout)
          Deprecated. The visibility of this will be reduced, use logFlushTimeout(Long) instead
 void setMaxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
          Deprecated. The visibility of this will be reduced, use maxNonProgressingLogWrites(Integer) instead
 void setNumRetries(Integer numRetries)
          Deprecated. The visibility of this will be reduced, use numRetries(Integer) instead
 void setRetryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
          Deprecated. The visibility of this will be reduced, use retryWaitTimeIncreaseFactor(Integer) instead
 void setTimeout(Long timeout)
          Deprecated. The visibility of this will be reduced, use timeout(Long) instead
 FluentConfiguration.StateRetrievalConfig stateRetrieval()
          Deprecated.  
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          Deprecated. This method allows configuration of lazy deserialization.
 FluentConfiguration.SyncConfig sync()
          Deprecated.  
 FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
          Deprecated.  
 FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
          Deprecated.  
 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.TransactionConfig transaction()
          Deprecated.  
 FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
          Deprecated.  
 FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
          Deprecated.  
 FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.UnsafeConfig unsafe()
          Deprecated.  
 FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
          Deprecated.  
 FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 FluentConfiguration.VersioningConfig versioning()
          Deprecated.  
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
clone, hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infinispan.config.FluentConfiguration.ClusteringConfig
async, hash, l1, mode, stateRetrieval, sync
 

Field Detail

fetchInMemoryState

@Dynamic
protected Boolean fetchInMemoryState
Deprecated. 

alwaysProvideInMemoryState

protected Boolean alwaysProvideInMemoryState
Deprecated. 

timeout

@Dynamic
protected Long timeout
Deprecated. 

initialRetryWaitTime

protected Long initialRetryWaitTime
Deprecated. 

retryWaitTimeIncreaseFactor

protected Integer retryWaitTimeIncreaseFactor
Deprecated. 

numRetries

protected Integer numRetries
Deprecated. 

logFlushTimeout

protected Long logFlushTimeout
Deprecated. 

maxNonProgressingLogWrites

protected Integer maxNonProgressingLogWrites
Deprecated. 

chunkSize

protected Integer chunkSize
Deprecated. 
Constructor Detail

Configuration.StateRetrievalType

public Configuration.StateRetrievalType()
Deprecated. 
Method Detail

accept

public void accept(ConfigurationBeanVisitor v)
Deprecated. 

isFetchInMemoryState

public Boolean isFetchInMemoryState()
Deprecated. 

setFetchInMemoryState

@Deprecated
public void setFetchInMemoryState(Boolean fetchInMemoryState)
Deprecated. The visibility of this will be reduced, use fetchInMemoryState(Boolean) instead


fetchInMemoryState

public FluentConfiguration.StateRetrievalConfig fetchInMemoryState(Boolean fetchInMemoryState)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
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.

Specified by:
fetchInMemoryState in interface FluentConfiguration.StateRetrievalConfig

isAlwaysProvideInMemoryState

public Boolean isAlwaysProvideInMemoryState()
Deprecated. 

setAlwaysProvideInMemoryState

@Deprecated
public void setAlwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
Deprecated. The visibility of this will be reduced, use alwaysProvideInMemoryState(Boolean) instead


alwaysProvideInMemoryState

public FluentConfiguration.StateRetrievalConfig alwaysProvideInMemoryState(Boolean alwaysProvideInMemoryState)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
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)

Specified by:
alwaysProvideInMemoryState in interface FluentConfiguration.StateRetrievalConfig

getInitialRetryWaitTime

public Long getInitialRetryWaitTime()
Deprecated. 

setInitialRetryWaitTime

@Deprecated
public void setInitialRetryWaitTime(Long initialRetryWaitTime)
Deprecated. The visibility of this will be reduced, use initialRetryWaitTime(Long) instead


initialRetryWaitTime

public FluentConfiguration.StateRetrievalConfig initialRetryWaitTime(Long initialRetryWaitTime)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
Initial wait time when backing off before retrying state transfer retrieval

Specified by:
initialRetryWaitTime in interface FluentConfiguration.StateRetrievalConfig

getRetryWaitTimeIncreaseFactor

public Integer getRetryWaitTimeIncreaseFactor()
Deprecated. 

setRetryWaitTimeIncreaseFactor

@Deprecated
public void setRetryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
Deprecated. The visibility of this will be reduced, use retryWaitTimeIncreaseFactor(Integer) instead


retryWaitTimeIncreaseFactor

public FluentConfiguration.StateRetrievalConfig retryWaitTimeIncreaseFactor(Integer retryWaitTimeIncreaseFactor)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
Wait time increase factor over successive state retrieval backoffs

Specified by:
retryWaitTimeIncreaseFactor in interface FluentConfiguration.StateRetrievalConfig

getNumRetries

public Integer getNumRetries()
Deprecated. 

setNumRetries

@Deprecated
public void setNumRetries(Integer numRetries)
Deprecated. The visibility of this will be reduced, use numRetries(Integer) instead


numRetries

public FluentConfiguration.StateRetrievalConfig numRetries(Integer numRetries)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
Number of state retrieval retries before giving up and aborting startup.

Specified by:
numRetries in interface FluentConfiguration.StateRetrievalConfig

getTimeout

public Long getTimeout()
Deprecated. 

setTimeout

@Deprecated
public void setTimeout(Long timeout)
Deprecated. The visibility of this will be reduced, use timeout(Long) instead


timeout

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

Specified by:
timeout in interface FluentConfiguration.StateRetrievalConfig

getLogFlushTimeout

public Long getLogFlushTimeout()
Deprecated. 

setLogFlushTimeout

@Deprecated
public void setLogFlushTimeout(Long logFlushTimeout)
Deprecated. The visibility of this will be reduced, use logFlushTimeout(Long) instead


logFlushTimeout

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

Specified by:
logFlushTimeout in interface FluentConfiguration.StateRetrievalConfig

getMaxNonProgressingLogWrites

public Integer getMaxNonProgressingLogWrites()
Deprecated. 

setMaxNonProgressingLogWrites

@Deprecated
public void setMaxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
Deprecated. The visibility of this will be reduced, use maxNonProgressingLogWrites(Integer) instead


maxNonProgressingLogWrites

public FluentConfiguration.StateRetrievalConfig maxNonProgressingLogWrites(Integer maxNonProgressingLogWrites)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
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.

Specified by:
maxNonProgressingLogWrites in interface FluentConfiguration.StateRetrievalConfig

getChunkSize

public Integer getChunkSize()
Deprecated. 

setChunkSize

@Deprecated
public void setChunkSize(Integer chunkSize)
Deprecated. 


chunkSize

public FluentConfiguration.StateRetrievalConfig chunkSize(Integer chunkSize)
Deprecated. 
Description copied from interface: FluentConfiguration.StateRetrievalConfig
Size of a state transfer chunk, in cache entries.

Specified by:
chunkSize in interface FluentConfiguration.StateRetrievalConfig

equals

public boolean equals(Object o)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

locking

public FluentConfiguration.LockingConfig locking()
Deprecated. 

loaders

public FluentConfiguration.LoadersConfig loaders()
Deprecated. 

transaction

public FluentConfiguration.TransactionConfig transaction()
Deprecated. 

deadlockDetection

public 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

public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
Deprecated. 

eviction

public FluentConfiguration.EvictionConfig eviction()
Deprecated. 

expiration

public FluentConfiguration.ExpirationConfig expiration()
Deprecated. 

clustering

public FluentConfiguration.ClusteringConfig clustering()
Deprecated. 

indexing

public 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

public FluentConfiguration.DataContainerConfig dataContainer()
Deprecated. 

unsafe

public FluentConfiguration.UnsafeConfig unsafe()
Deprecated. 

jmxStatistics

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


storeAsBinary

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


invocationBatching

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


versioning

public FluentConfiguration.VersioningConfig versioning()
Deprecated. 

build

public Configuration build()
Deprecated. 

locking

public FluentConfiguration.LockingConfig locking()
Deprecated. 

loaders

public FluentConfiguration.LoadersConfig loaders()
Deprecated. 

transaction

public FluentConfiguration.TransactionConfig transaction()
Deprecated. 

deadlockDetection

public 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

public FluentConfiguration.CustomInterceptorsConfig customInterceptors()
Deprecated. 

eviction

public FluentConfiguration.EvictionConfig eviction()
Deprecated. 

expiration

public FluentConfiguration.ExpirationConfig expiration()
Deprecated. 

clustering

public FluentConfiguration.ClusteringConfig clustering()
Deprecated. 

indexing

public 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

public FluentConfiguration.DataContainerConfig dataContainer()
Deprecated. 

unsafe

public FluentConfiguration.UnsafeConfig unsafe()
Deprecated. 

jmxStatistics

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


storeAsBinary

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


versioning

public FluentConfiguration.VersioningConfig versioning()
Deprecated. 

invocationBatching

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


async

public FluentConfiguration.AsyncConfig async()
Deprecated. 

sync

public FluentConfiguration.SyncConfig sync()
Deprecated. 

stateRetrieval

public FluentConfiguration.StateRetrievalConfig stateRetrieval()
Deprecated. 

l1

public FluentConfiguration.L1Config l1()
Deprecated. 

hash

public FluentConfiguration.HashConfig hash()
Deprecated. 

mode

public FluentConfiguration.ClusteringConfig mode(Configuration.CacheMode mode)
Deprecated. 

transactionManagerLookupClass

public FluentConfiguration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
Deprecated. 

transactionManagerLookup

public FluentConfiguration.TransactionConfig transactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
Deprecated. 

transactionSynchronizationRegistryLookup

public FluentConfiguration.TransactionConfig transactionSynchronizationRegistryLookup(TransactionSynchronizationRegistryLookup transactionSynchronizationRegistryLookup)
Deprecated. 

syncCommitPhase

public FluentConfiguration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
Deprecated. 

syncRollbackPhase

public FluentConfiguration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
Deprecated. 

useEagerLocking

public FluentConfiguration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
Deprecated. 

eagerLockSingleNode

public FluentConfiguration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
Deprecated. 

cacheStopTimeout

public FluentConfiguration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
Deprecated. 

useSynchronization

public FluentConfiguration.TransactionConfig useSynchronization(Boolean useSynchronization)
Deprecated. 

recovery

public FluentConfiguration.RecoveryConfig recovery()
Deprecated. 

build

public Configuration build()
Deprecated. 

setConfiguration

protected org.infinispan.config.AbstractFluentConfigurationBean setConfiguration(Configuration config)
Deprecated. 

-->

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