public class AsyncConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<ReplicationQueue> |
REPLICATION_QUEUE |
static AttributeDefinition<Long> |
REPLICATION_QUEUE_INTERVAL |
static AttributeDefinition<Integer> |
REPLICATION_QUEUE_MAX_ELEMENTS |
static AttributeDefinition<Boolean> |
USE_REPLICATION_QUEUE |
Modifier and Type | Method and Description |
---|---|
boolean |
asyncMarshalling()
Deprecated.
|
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<ReplicationQueue> REPLICATION_QUEUE
public static final AttributeDefinition<Long> REPLICATION_QUEUE_INTERVAL
public static final AttributeDefinition<Integer> REPLICATION_QUEUE_MAX_ELEMENTS
public static final AttributeDefinition<Boolean> USE_REPLICATION_QUEUE
@Deprecated 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.