|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.configuration.cache.AsyncConfiguration
public class AsyncConfiguration
If configured 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. Asynchronous configuration is mutually exclusive with synchronous configuration.
Method Summary | |
---|---|
boolean |
asyncMarshalling()
Asynchronous marshalling allows the caller to return even quicker, but it can suffer from reordering of operations. |
boolean |
equals(Object o)
|
int |
hashCode()
|
ReplicationQueue |
replQueue()
The replication queue in use, by default ReplicationQueueImpl . |
long |
replQueueInterval()
If useReplQueue is set to true, this attribute controls how often the asynchronous thread used to flush the replication queue runs. |
int |
replQueueMaxElements()
If useReplQueue is set to true, this attribute can be used to trigger flushing of the queue when it reaches a specific threshold. |
String |
toString()
|
boolean |
useReplQueue()
If true, this forces all async communications to be queued up and sent out periodically as a batch. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean asyncMarshalling()
public ReplicationQueue replQueue()
ReplicationQueueImpl
.
public long replQueueInterval()
public int replQueueMaxElements()
public boolean useReplQueue()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |