org.infinispan.config
Class Configuration.AsyncType

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by 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

Field Summary
protected  Boolean asyncMarshalling
           
protected  String replQueueClass
           
protected  Long replQueueInterval
           
protected  Integer replQueueMaxElements
           
protected  Boolean useReplQueue
           
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
EMPTY_PROPERTIES, log, overriddenConfigurationElements
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 boolean equals(Object o)
           
 int hashCode()
           
 void setAsyncMarshalling(Boolean asyncMarshalling)
           
 void setReplQueueClass(String replQueueClass)
           
 void setReplQueueInterval(Long replQueueInterval)
           
 void setReplQueueMaxElements(Integer replQueueMaxElements)
           
 void setUseReplQueue(Boolean useReplQueue)
           
 void willUnmarshall(Object parent)
          Indicates that this element is about to be unmarshalled from the XML source that was processed.
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
clone, hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useReplQueue

protected Boolean useReplQueue

replQueueMaxElements

protected Integer replQueueMaxElements

replQueueInterval

protected Long replQueueInterval

asyncMarshalling

protected Boolean asyncMarshalling

replQueueClass

protected String replQueueClass
Method Detail

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

Google Analytics

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