|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.config.AbstractConfigurationBean
org.infinispan.config.AbstractNamedCacheConfigurationBean
org.infinispan.config.Configuration.AsyncType
public static class Configuration.AsyncType
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.
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)
|
Configuration.AsyncConfig |
asyncMarshalling(Boolean asyncMarshalling)
If true, asynchronous marshalling is enabled which means that caller can return even quicker, but it can suffer from reordering of operations. |
boolean |
equals(Object o)
|
int |
hashCode()
|
Configuration.AsyncConfig |
replQueueClass(String replQueueClass)
This overrides the replication queue implementation class. |
Configuration.AsyncConfig |
replQueueInterval(Long replQueueInterval)
If useReplQueue is set to true, this attribute controls how often the asynchronous thread used to flush the replication queue runs. |
Configuration.AsyncConfig |
replQueueMaxElements(Integer replQueueMaxElements)
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)
|
void |
setReplQueueClass(String replQueueClass)
|
void |
setReplQueueInterval(Long replQueueInterval)
|
void |
setReplQueueMaxElements(Integer replQueueMaxElements)
|
void |
setUseReplQueue(Boolean useReplQueue)
|
Configuration.AsyncConfig |
useReplQueue(Boolean useReplQueue)
If true, this forces all async communications to be queued up and sent out periodically as a batch. |
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 |
---|
protected Boolean useReplQueue
protected Integer replQueueMaxElements
protected Long replQueueInterval
protected Boolean asyncMarshalling
protected String replQueueClass
Method Detail |
---|
public void accept(ConfigurationBeanVisitor v)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Configuration.AsyncConfig useReplQueue(Boolean useReplQueue)
Configuration.AsyncConfig
useReplQueue
in interface Configuration.AsyncConfig
public Configuration.AsyncConfig replQueueMaxElements(Integer replQueueMaxElements)
Configuration.AsyncConfig
replQueueMaxElements
in interface Configuration.AsyncConfig
public Configuration.AsyncConfig replQueueInterval(Long replQueueInterval)
Configuration.AsyncConfig
replQueueInterval
in interface Configuration.AsyncConfig
public Configuration.AsyncConfig asyncMarshalling(Boolean asyncMarshalling)
Configuration.AsyncConfig
asyncMarshalling
in interface Configuration.AsyncConfig
public Configuration.AsyncConfig replQueueClass(String replQueueClass)
Configuration.AsyncConfig
replQueueClass
in interface Configuration.AsyncConfig
public void setUseReplQueue(Boolean useReplQueue)
public void setReplQueueMaxElements(Integer replQueueMaxElements)
public void setReplQueueInterval(Long replQueueInterval)
public void setAsyncMarshalling(Boolean asyncMarshalling)
public void setReplQueueClass(String replQueueClass)
public void willUnmarshall(Object parent)
JAXBUnmarshallable
willUnmarshall
in interface JAXBUnmarshallable
willUnmarshall
in class AbstractConfigurationBean
parent
- parent component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |