public interface AsyncEventQueue
AsyncEventListener
.Modifier and Type | Method and Description |
---|---|
AsyncEventListener |
getAsyncEventListener()
The
AsyncEventListener that is attached to the queue. |
int |
getBatchSize()
Represents the size of a batch that gets delivered over the AsyncEventQueue.
|
int |
getBatchTimeInterval()
Represents the maximum time interval that can elapse before a batch is sent from
AsyncEventQueue . |
String |
getDiskStoreName()
The Disk store that is required for overflow and persistence
|
int |
getDispatcherThreads()
Returns the number of dispatcher threads working for this
AsyncEventQueue . |
List<GatewayEventFilter> |
getGatewayEventFilters()
Returns the
GatewayEventFilters for this AsyncEventQueue |
GatewayEventSubstitutionFilter |
getGatewayEventSubstitutionFilter()
Returns the
GatewayEventSubstitutionFilter for this AsyncEventQueue |
String |
getId() |
int |
getMaximumQueueMemory()
The maximum memory after which the data needs to be overflowed to disk.
|
GatewaySender.OrderPolicy |
getOrderPolicy()
Returns the order policy followed while dispatching the events to AsyncEventListener.
|
boolean |
isBatchConflationEnabled()
Represents whether batch conflation is enabled for batches sent from
AsyncEventQueue . |
boolean |
isDiskSynchronous()
Represents whether writing to disk is synchronous or not.
|
boolean |
isDispatchingPaused()
Returns whether the queue is processing queued events or is paused
|
boolean |
isForwardExpirationDestroy()
Represents if expiration destroy operations are forwarded (passed) to
AsyncEventListener . |
boolean |
isParallel()
Represents whether this queue is parallel (higher throughput) or serial.
|
boolean |
isPersistent()
Represents whether the AsyncEventQueue is configured to be persistent or non-persistent.
|
boolean |
isPrimary()
Represents whether the queue is primary or secondary.
|
void |
resumeEventDispatching()
Resumes the dispatching of then events queued to the listener.
|
int |
size()
Returns the number of entries in this
AsyncEventQueue . |
String getId()
String getDiskStoreName()
int getMaximumQueueMemory()
int getBatchSize()
int getBatchTimeInterval()
AsyncEventQueue
. Default batchTimeInterval is 5 ms.AsyncEventQueue
boolean isBatchConflationEnabled()
AsyncEventQueue
. Default is false.boolean isPersistent()
boolean isDiskSynchronous()
boolean isPrimary()
AsyncEventListener getAsyncEventListener()
AsyncEventListener
that is attached to the queue. All the event passing over
the queue are delivered to attached listener.boolean isParallel()
int getDispatcherThreads()
AsyncEventQueue
. Default
number of dispatcher threads is 5.AsyncEventQueue
GatewaySender.OrderPolicy getOrderPolicy()
int size()
AsyncEventQueue
.AsyncEventQueue
.List<GatewayEventFilter> getGatewayEventFilters()
GatewayEventFilters
for this AsyncEventQueue
GatewayEventFilters
for this AsyncEventQueue
GatewayEventSubstitutionFilter getGatewayEventSubstitutionFilter()
GatewayEventSubstitutionFilter
for this AsyncEventQueue
GatewayEventSubstitutionFilter
for this AsyncEventQueue
boolean isForwardExpirationDestroy()
AsyncEventListener
.void resumeEventDispatching()
boolean isDispatchingPaused()