public class AsyncConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition |
MARSHALLING |
static AttributeDefinition |
REPLICATION_QUEUE |
static AttributeDefinition |
REPLICATION_QUEUE_INTERVAL |
static AttributeDefinition |
REPLICATION_QUEUE_MAX_ELEMENTS |
static AttributeDefinition |
USE_REPLICATION_QUEUE |
Modifier and Type | Method and Description |
---|---|
boolean |
asyncMarshalling()
Asynchronous marshalling allows the caller to return even quicker, but it can
suffer from reordering of operations.
|
AttributeSet |
attributes() |
boolean |
equals(Object obj) |
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.
|
public static final AttributeDefinition MARSHALLING
public static final AttributeDefinition REPLICATION_QUEUE
public static final AttributeDefinition REPLICATION_QUEUE_INTERVAL
public static final AttributeDefinition REPLICATION_QUEUE_MAX_ELEMENTS
public static final AttributeDefinition USE_REPLICATION_QUEUE
public boolean asyncMarshalling()
public ReplicationQueue replQueue()
ReplicationQueueImpl
.public long replQueueInterval()
public int replQueueMaxElements()
public boolean useReplQueue()
public AttributeSet attributes()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.