|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AsyncEventQueueFactory
Factory to create the AsyncEventQueue.
| Method Summary | |
|---|---|
AsyncEventQueue |
create(String id,
AsyncEventListener listener)
Creates the AsyncEventQueue. |
AsyncEventQueueFactory |
setBatchSize(int size)
Sets the batch size for an AsyncEventQueue's queue. |
AsyncEventQueueFactory |
setDiskStoreName(String name)
Sets the disk store name for overflow or persistence. |
AsyncEventQueueFactory |
setMaximumQueueMemory(int memory)
Sets the maximum amount of memory (in MB) for an AsyncEventQueue's queue. |
AsyncEventQueueFactory |
setParallel(boolean isParallel)
Indicates whether all VMs need to distribute events to remote site. |
AsyncEventQueueFactory |
setPersistent(boolean isPersistent)
Sets whether the AsyncEventQueue is persistent or not. |
| Method Detail |
|---|
AsyncEventQueueFactory setDiskStoreName(String name)
name - AsyncEventQueueFactory setMaximumQueueMemory(int memory)
AsyncEventQueue's queue.
memory - The maximum amount of memory (in MB) for an
AsyncEventQueue's queueAsyncEventQueueFactory setBatchSize(int size)
AsyncEventQueue's queue.
size - The size of batches sent to its AsyncEventListenerAsyncEventQueueFactory setPersistent(boolean isPersistent)
AsyncEventQueue is persistent or not.
isPersistent - Whether to enable persistence for an AsyncEventQueue.AsyncEventQueueFactory setParallel(boolean isParallel)
isParallel - boolean to indicate whether distribution policy is parallel
AsyncEventQueue create(String id,
AsyncEventListener listener)
AsyncEventQueue. It accepts Id of AsyncEventQueue
and instance of AsyncEventListener. Multiple queues can be created using
Same listener instance. So, the instance of AsyncEventListener
should be thread safe in that case. The AsyncEventListener
will start receiving events when the AsyncEventQueue is
created.
id - Id of AsyncEventQueuelistener - AsyncEventListener to be added to the regions that
are configured to use this queue.
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||