org.infinispan.config
Class Configuration.AsyncType
java.lang.Object
org.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.Configuration.AsyncType
- All Implemented Interfaces:
- Serializable, Cloneable, CloneableConfigurationComponent, FluentConfiguration.AsyncConfig, FluentConfiguration.ClusteringConfig, JAXBUnmarshallable
- Enclosing class:
- Configuration
Deprecated.
@Deprecated
public static class Configuration.AsyncType
- extends AbstractNamedCacheConfigurationBean
- implements FluentConfiguration.AsyncConfig
If this element is present, all communications are asynchronous, in that whenever a thread sends a message sent
over the wire, it does not wait for an acknowledgment before returning. This element is mutually exclusive with
the <sync />
element.
Characteristics of this can be tuned here.
- See Also:
- Configuration reference,
Serialized Form
Method Summary |
void |
accept(ConfigurationBeanVisitor v)
Deprecated. |
FluentConfiguration.AsyncConfig |
async()
Deprecated. |
FluentConfiguration.AsyncConfig |
asyncMarshalling(Boolean asyncMarshalling)
Deprecated. If true, asynchronous marshalling is enabled which means that caller can return even
quicker, but it can suffer from reordering of operations. |
Configuration |
build()
Deprecated. |
Configuration |
build()
Deprecated. |
FluentConfiguration.TransactionConfig |
cacheStopTimeout(Integer cacheStopTimeout)
Deprecated. |
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. |
String |
getReplQueueClass()
Deprecated. |
Long |
getReplQueueInterval()
Deprecated. |
Integer |
getReplQueueMaxElements()
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.InvocationBatchingConfig |
invocationBatching()
Deprecated. This method allows configuration of invocation batching. |
FluentConfiguration.InvocationBatchingConfig |
invocationBatching()
Deprecated. This method allows configuration of invocation batching. |
Boolean |
isAsyncMarshalling()
Deprecated. |
Boolean |
isUseReplQueue()
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.ClusteringConfig |
mode(Configuration.CacheMode mode)
Deprecated. |
FluentConfiguration.RecoveryConfig |
recovery()
Deprecated. |
FluentConfiguration.AsyncConfig |
replQueueClass(Class<? extends ReplicationQueue> replQueueClass)
Deprecated. This overrides the replication queue implementation class. |
FluentConfiguration.AsyncConfig |
replQueueInterval(Long replQueueInterval)
Deprecated. If useReplQueue is set to true, this attribute controls how often the asynchronous thread
used to flush the replication queue runs. |
FluentConfiguration.AsyncConfig |
replQueueMaxElements(Integer replQueueMaxElements)
Deprecated. If useReplQueue is set to true, this attribute can be used to trigger flushing of the queue
when it reaches a specific threshold. |
void |
setAsyncMarshalling(Boolean asyncMarshalling)
Deprecated. The visibility of this will be reduced, use asyncMarshalling(Boolean) |
protected org.infinispan.config.AbstractFluentConfigurationBean |
setConfiguration(Configuration config)
Deprecated. |
void |
setReplQueueClass(String replQueueClass)
Deprecated. The visibility of this will be reduced, use replQueueClass(Class) |
void |
setReplQueueInterval(Long replQueueInterval)
Deprecated. The visibility of this will be reduced, use replQueueInterval(Long) |
void |
setReplQueueMaxElements(Integer replQueueMaxElements)
Deprecated. The visibility of this will be reduced, use replQueueMaxElements(Integer) |
void |
setUseReplQueue(Boolean useReplQueue)
Deprecated. The visibility of this will be reduced, use useReplQueue(Boolean) |
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.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.AsyncConfig |
useReplQueue(Boolean useReplQueue)
Deprecated. If true, this forces all async communications to be queued up and sent out periodically as
a batch. |
FluentConfiguration.TransactionConfig |
useSynchronization(Boolean useSynchronization)
Deprecated. |
FluentConfiguration.VersioningConfig |
versioning()
Deprecated. |
FluentConfiguration.VersioningConfig |
versioning()
Deprecated. |
void |
willUnmarshall(Object parent)
Deprecated. Indicates that this element is about to be unmarshalled from the XML source that was processed. |
useReplQueue
protected Boolean useReplQueue
- Deprecated.
replQueueMaxElements
protected Integer replQueueMaxElements
- Deprecated.
replQueueInterval
protected Long replQueueInterval
- Deprecated.
asyncMarshalling
protected Boolean asyncMarshalling
- Deprecated.
replQueueClass
protected String replQueueClass
- Deprecated.
accept
public void accept(ConfigurationBeanVisitor v)
- Deprecated.
equals
public boolean equals(Object o)
- Deprecated.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Deprecated.
- Overrides:
hashCode
in class Object
isUseReplQueue
public Boolean isUseReplQueue()
- Deprecated.
setUseReplQueue
@Deprecated
public void setUseReplQueue(Boolean useReplQueue)
- Deprecated. The visibility of this will be reduced, use
useReplQueue(Boolean)
useReplQueue
public FluentConfiguration.AsyncConfig useReplQueue(Boolean useReplQueue)
- Deprecated.
- Description copied from interface:
FluentConfiguration.AsyncConfig
- If true, this forces all async communications to be queued up and sent out periodically as
a batch.
- Specified by:
useReplQueue
in interface FluentConfiguration.AsyncConfig
getReplQueueMaxElements
public Integer getReplQueueMaxElements()
- Deprecated.
setReplQueueMaxElements
@Deprecated
public void setReplQueueMaxElements(Integer replQueueMaxElements)
- Deprecated. The visibility of this will be reduced, use
replQueueMaxElements(Integer)
replQueueMaxElements
public FluentConfiguration.AsyncConfig replQueueMaxElements(Integer replQueueMaxElements)
- Deprecated.
- Description copied from interface:
FluentConfiguration.AsyncConfig
- If useReplQueue is set to true, this attribute can be used to trigger flushing of the queue
when it reaches a specific threshold.
- Specified by:
replQueueMaxElements
in interface FluentConfiguration.AsyncConfig
getReplQueueInterval
public Long getReplQueueInterval()
- Deprecated.
setReplQueueInterval
@Deprecated
public void setReplQueueInterval(Long replQueueInterval)
- Deprecated. The visibility of this will be reduced, use
replQueueInterval(Long)
replQueueInterval
public FluentConfiguration.AsyncConfig replQueueInterval(Long replQueueInterval)
- Deprecated.
- Description copied from interface:
FluentConfiguration.AsyncConfig
- If useReplQueue is set to true, this attribute controls how often the asynchronous thread
used to flush the replication queue runs. This should be a positive integer which
represents thread wakeup time in milliseconds.
- Specified by:
replQueueInterval
in interface FluentConfiguration.AsyncConfig
isAsyncMarshalling
public Boolean isAsyncMarshalling()
- Deprecated.
setAsyncMarshalling
@Deprecated
public void setAsyncMarshalling(Boolean asyncMarshalling)
- Deprecated. The visibility of this will be reduced, use
asyncMarshalling(Boolean)
asyncMarshalling
public FluentConfiguration.AsyncConfig asyncMarshalling(Boolean asyncMarshalling)
- Deprecated.
- Description copied from interface:
FluentConfiguration.AsyncConfig
- If true, asynchronous marshalling is enabled which means that caller can return even
quicker, but it can suffer from reordering of operations. You can find more information here
- Specified by:
asyncMarshalling
in interface FluentConfiguration.AsyncConfig
getReplQueueClass
public String getReplQueueClass()
- Deprecated.
setReplQueueClass
@Deprecated
public void setReplQueueClass(String replQueueClass)
- Deprecated. The visibility of this will be reduced, use
replQueueClass(Class)
replQueueClass
public FluentConfiguration.AsyncConfig replQueueClass(Class<? extends ReplicationQueue> replQueueClass)
- Deprecated.
- Description copied from interface:
FluentConfiguration.AsyncConfig
- This overrides the replication queue implementation class. Overriding the default allows
you to add behavior to the queue, typically by subclassing the default implementation.
- Specified by:
replQueueClass
in interface FluentConfiguration.AsyncConfig
willUnmarshall
public void willUnmarshall(Object parent)
- Deprecated.
- Description copied from interface:
JAXBUnmarshallable
- Indicates that this element is about to be unmarshalled from the XML source that was processed.
- Specified by:
willUnmarshall
in interface JAXBUnmarshallable
- Overrides:
willUnmarshall
in class AbstractConfigurationBean
- Parameters:
parent
- parent component
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.