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, JAXBUnmarshallable
- Enclosing class:
- Configuration
public static class Configuration.AsyncType
- extends AbstractNamedCacheConfigurationBean
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
useReplQueue
protected Boolean useReplQueue
replQueueMaxElements
protected Integer replQueueMaxElements
replQueueInterval
protected Long replQueueInterval
asyncMarshalling
protected Boolean asyncMarshalling
replQueueClass
protected String replQueueClass
accept
public void accept(ConfigurationBeanVisitor v)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setUseReplQueue
public void setUseReplQueue(Boolean useReplQueue)
setReplQueueMaxElements
public void setReplQueueMaxElements(Integer replQueueMaxElements)
setReplQueueInterval
public void setReplQueueInterval(Long replQueueInterval)
setAsyncMarshalling
public void setAsyncMarshalling(Boolean asyncMarshalling)
setReplQueueClass
public void setReplQueueClass(String replQueueClass)
willUnmarshall
public void willUnmarshall(Object parent)
- 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
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.