public class AsyncEventQueueFactoryBean extends AbstractWANComponentFactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>
AsyncEventQueues.cache, factory, log, VALID_ORDER_POLICIES| Constructor and Description |
|---|
AsyncEventQueueFactoryBean(org.apache.geode.cache.Cache cache)
Constructs an instance of the AsyncEventQueueFactoryBean for creating an GemFire AsyncEventQueue.
|
AsyncEventQueueFactoryBean(org.apache.geode.cache.Cache cache,
org.apache.geode.cache.asyncqueue.AsyncEventListener asyncEventListener)
Constructs an instance of the AsyncEventQueueFactoryBean for creating an GemFire AsyncEventQueue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected void |
doInit() |
org.apache.geode.cache.asyncqueue.AsyncEventQueue |
getObject() |
Class<?> |
getObjectType() |
boolean |
isParallelEventQueue() |
boolean |
isSerialEventQueue() |
void |
setAsyncEventListener(org.apache.geode.cache.asyncqueue.AsyncEventListener listener) |
void |
setAsyncEventQueue(org.apache.geode.cache.asyncqueue.AsyncEventQueue asyncEventQueue) |
void |
setBatchConflationEnabled(Boolean batchConflationEnabled)
Enable or disable the Async Event Queue's (AEQ) should conflate messages.
|
void |
setBatchSize(Integer batchSize) |
void |
setBatchTimeInterval(Integer batchTimeInterval)
Set the Aysync Event Queue's (AEQ) interval between sending batches.
|
void |
setDiskStoreRef(String diskStoreRef) |
void |
setDiskSynchronous(Boolean diskSynchronous)
Set the Async Event Queue (AEQ) disk write synchronization policy.
|
void |
setDispatcherThreads(Integer dispatcherThreads)
Set the number of dispatcher threads used to process Region Events from the associated Async Event Queue (AEQ).
|
void |
setMaximumQueueMemory(Integer maximumQueueMemory) |
void |
setOrderPolicy(String orderPolicy)
Set the Async Event Queue (AEQ) ordering policy (e.g.
|
void |
setParallel(Boolean parallel) |
void |
setPersistent(Boolean persistent) |
afterPropertiesSet, getName, isSingleton, setBeanName, setFactory, setNamepublic AsyncEventQueueFactoryBean(org.apache.geode.cache.Cache cache)
cache - the GemFire Cache reference.AsyncEventQueueFactoryBean(org.apache.geode.cache.Cache, org.apache.geode.cache.asyncqueue.AsyncEventListener)public AsyncEventQueueFactoryBean(org.apache.geode.cache.Cache cache,
org.apache.geode.cache.asyncqueue.AsyncEventListener asyncEventListener)
cache - the GemFire Cache reference.asyncEventListener - required AsyncEventListenerpublic org.apache.geode.cache.asyncqueue.AsyncEventQueue getObject()
throws Exception
getObject in interface FactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>getObject in class AbstractWANComponentFactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>getObjectType in class AbstractWANComponentFactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>protected void doInit()
doInit in class AbstractWANComponentFactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>public void destroy()
throws Exception
destroy in interface DisposableBeandestroy in class AbstractWANComponentFactoryBean<org.apache.geode.cache.asyncqueue.AsyncEventQueue>Exceptionpublic final void setAsyncEventListener(org.apache.geode.cache.asyncqueue.AsyncEventListener listener)
public void setAsyncEventQueue(org.apache.geode.cache.asyncqueue.AsyncEventQueue asyncEventQueue)
asyncEventQueue - overrides Async Event Queue returned by this FactoryBean.public void setBatchConflationEnabled(Boolean batchConflationEnabled)
batchConflationEnabled - a boolean value indicating whether to conflate queued events.public void setBatchSize(Integer batchSize)
public void setBatchTimeInterval(Integer batchTimeInterval)
batchTimeInterval - an integer value indicating the maximum number of milliseconds that can elapse
between sending batches.public void setDiskStoreRef(String diskStoreRef)
public void setDiskSynchronous(Boolean diskSynchronous)
diskSynchronous - a boolean value indicating whether disk writes are synchronous.public void setDispatcherThreads(Integer dispatcherThreads)
dispatcherThreads - an Integer indicating the number of dispatcher threads used to process Region Events
from the associated Queue.public void setMaximumQueueMemory(Integer maximumQueueMemory)
public void setOrderPolicy(String orderPolicy)
orderPolicy - a String to indicate the AEQ order policy.public void setParallel(Boolean parallel)
public boolean isSerialEventQueue()
public boolean isParallelEventQueue()
public void setPersistent(Boolean persistent)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.