VMware GemFire Java API Reference
Class CacheConfig.AsyncEventQueue
- java.lang.Object
-
- org.apache.geode.cache.configuration.CacheElement
-
- org.apache.geode.cache.configuration.CacheConfig.AsyncEventQueue
-
- All Implemented Interfaces:
java.io.Serializable,Identifiable<java.lang.String>
- Enclosing class:
- CacheConfig
public static class CacheConfig.AsyncEventQueue extends CacheElement
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="gateway-event-filter" type="{http://geode.apache.org/schema/cache}class-with-parameters-type" maxOccurs="unbounded" minOccurs="0"/> <element name="gateway-event-substitution-filter" type="{http://geode.apache.org/schema/cache}class-with-parameters-type" minOccurs="0"/> <element name="async-event-listener" type="{http://geode.apache.org/schema/cache}class-with-parameters-type"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parallel" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="batch-size" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="batch-time-interval" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="enable-batch-conflation" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="maximum-queue-memory" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="disk-store-name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="disk-synchronous" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="dispatcher-threads" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="order-policy" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="forward-expiration-destroy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DeclarableTypeasyncEventListenerprotected java.lang.StringbatchSizeprotected java.lang.StringbatchTimeIntervalprotected java.lang.StringdiskStoreNameprotected java.lang.BooleandiskSynchronousprotected java.lang.StringdispatcherThreadsprotected java.lang.BooleanenableBatchConflationprotected java.lang.BooleanforwardExpirationDestroyprotected java.util.List<DeclarableType>gatewayEventFiltersprotected DeclarableTypegatewayEventSubstitutionFilterprotected java.lang.Stringidprotected java.lang.StringmaximumQueueMemoryprotected java.lang.StringorderPolicyprotected java.lang.Booleanparallelprotected java.lang.BooleanpauseEventProcessingprotected java.lang.Booleanpersistent
-
Constructor Summary
Constructors Constructor Description AsyncEventQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeclarableTypegetAsyncEventListener()Gets the value of the asyncEventListener property.java.lang.StringgetBatchSize()Gets the value of the batchSize property.java.lang.StringgetBatchTimeInterval()Gets the value of the batchTimeInterval property.java.lang.StringgetDiskStoreName()Gets the value of the diskStoreName property.java.lang.StringgetDispatcherThreads()Gets the value of the dispatcherThreads property.java.util.List<DeclarableType>getGatewayEventFilters()Gets the value of the gatewayEventFilters property.DeclarableTypegetGatewayEventSubstitutionFilter()Gets the value of the gatewayEventSubstitutionFilter property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetMaximumQueueMemory()Gets the value of the maximumQueueMemory property.java.lang.StringgetOrderPolicy()Gets the value of the orderPolicy property.java.lang.BooleanisDiskSynchronous()Gets the value of the diskSynchronous property.java.lang.BooleanisEnableBatchConflation()Gets the value of the enableBatchConflation property.booleanisForwardExpirationDestroy()Gets the value of the forwardExpirationDestroy property.java.lang.BooleanisParallel()Gets the value of the parallel property.java.lang.BooleanisPauseEventProcessing()Gets the value of whether the queue was created with paused processing of the events queuedjava.lang.BooleanisPersistent()Gets the value of the persistent property.voidsetAsyncEventListener(DeclarableType value)Sets the value of the asyncEventListener property.voidsetBatchSize(java.lang.String value)Sets the value of the batchSize property.voidsetBatchTimeInterval(java.lang.String value)Sets the value of the batchTimeInterval property.voidsetDiskStoreName(java.lang.String value)Sets the value of the diskStoreName property.voidsetDiskSynchronous(java.lang.Boolean value)Sets the value of the diskSynchronous property.voidsetDispatcherThreads(java.lang.String value)Sets the value of the dispatcherThreads property.voidsetEnableBatchConflation(java.lang.Boolean value)Sets the value of the enableBatchConflation property.voidsetForwardExpirationDestroy(java.lang.Boolean value)Sets the value of the forwardExpirationDestroy property.voidsetGatewayEventSubstitutionFilter(DeclarableType value)Sets the value of the gatewayEventSubstitutionFilter property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetMaximumQueueMemory(java.lang.String value)Sets the value of the maximumQueueMemory property.voidsetOrderPolicy(java.lang.String value)Sets the value of the orderPolicy property.voidsetParallel(java.lang.Boolean value)Sets the value of the parallel property.voidsetPauseEventProcessing(java.lang.Boolean pauseEventProcessing)Sets the value of whether the queue will be created with paused processing of the events queuedvoidsetPersistent(java.lang.Boolean value)Sets the value of the persistent property.
-
-
-
Field Detail
-
gatewayEventFilters
protected java.util.List<DeclarableType> gatewayEventFilters
-
gatewayEventSubstitutionFilter
protected DeclarableType gatewayEventSubstitutionFilter
-
asyncEventListener
protected DeclarableType asyncEventListener
-
id
protected java.lang.String id
-
parallel
protected java.lang.Boolean parallel
-
batchSize
protected java.lang.String batchSize
-
batchTimeInterval
protected java.lang.String batchTimeInterval
-
enableBatchConflation
protected java.lang.Boolean enableBatchConflation
-
maximumQueueMemory
protected java.lang.String maximumQueueMemory
-
persistent
protected java.lang.Boolean persistent
-
diskStoreName
protected java.lang.String diskStoreName
-
diskSynchronous
protected java.lang.Boolean diskSynchronous
-
dispatcherThreads
protected java.lang.String dispatcherThreads
-
orderPolicy
protected java.lang.String orderPolicy
-
forwardExpirationDestroy
protected java.lang.Boolean forwardExpirationDestroy
-
pauseEventProcessing
protected java.lang.Boolean pauseEventProcessing
-
-
Method Detail
-
isPauseEventProcessing
public java.lang.Boolean isPauseEventProcessing()
Gets the value of whether the queue was created with paused processing of the events queued- Returns:
Boolean- true if queue will be created with paused processing of the events queued - false if queue will be created without pausing the processing of the events queued
-
setPauseEventProcessing
public void setPauseEventProcessing(java.lang.Boolean pauseEventProcessing)
Sets the value of whether the queue will be created with paused processing of the events queued- Parameters:
pauseEventProcessing-Boolean- true if queue will be created with paused processing of the events queued - false if queue will be created without pausing the processing of the events queued
-
getGatewayEventFilters
public java.util.List<DeclarableType> getGatewayEventFilters()
Gets the value of the gatewayEventFilters property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the gatewayEventFilters property.For example, to add a new item, do as follows:
getGatewayEventFilters().add(newItem);
Objects of the following type(s) are allowed in the list
DeclarableType- Returns:
- the value of the gatewayEventFilters property
-
getGatewayEventSubstitutionFilter
public DeclarableType getGatewayEventSubstitutionFilter()
Gets the value of the gatewayEventSubstitutionFilter property. possible object isDeclarableType- Returns:
- the value of the gatewayEventSubstitutionFilter property
-
setGatewayEventSubstitutionFilter
public void setGatewayEventSubstitutionFilter(DeclarableType value)
Sets the value of the gatewayEventSubstitutionFilter property. allowed object isDeclarableType- Parameters:
value- the value of the gatewayEventSubstitutionFilter property
-
getAsyncEventListener
public DeclarableType getAsyncEventListener()
Gets the value of the asyncEventListener property. possible object isDeclarableType- Returns:
- the value of the asyncEventListener property
-
setAsyncEventListener
public void setAsyncEventListener(DeclarableType value)
Sets the value of the asyncEventListener property. allowed object isDeclarableType- Parameters:
value- the value of the asyncEventListener property
-
getId
public java.lang.String getId()
Gets the value of the id property. possible object isString- Returns:
- the value of the id property
-
setId
public void setId(java.lang.String value)
Sets the value of the id property. allowed object isString- Parameters:
value- the value of the id property
-
isParallel
public java.lang.Boolean isParallel()
Gets the value of the parallel property. possible object isBoolean- Returns:
- the value of the parallel property
-
setParallel
public void setParallel(java.lang.Boolean value)
Sets the value of the parallel property. allowed object isBoolean- Parameters:
value- the value of the parallel property
-
getBatchSize
public java.lang.String getBatchSize()
Gets the value of the batchSize property. possible object isString- Returns:
- the value of the batchSize property
-
setBatchSize
public void setBatchSize(java.lang.String value)
Sets the value of the batchSize property. allowed object isString- Parameters:
value- the value of the batchSize property
-
getBatchTimeInterval
public java.lang.String getBatchTimeInterval()
Gets the value of the batchTimeInterval property. possible object isString- Returns:
- the value of the batchTimeInterval property
-
setBatchTimeInterval
public void setBatchTimeInterval(java.lang.String value)
Sets the value of the batchTimeInterval property. allowed object isString- Parameters:
value- the value of the batchTimeInterval property
-
isEnableBatchConflation
public java.lang.Boolean isEnableBatchConflation()
Gets the value of the enableBatchConflation property. possible object isBoolean- Returns:
- the value of the enableBatchConflation property
-
setEnableBatchConflation
public void setEnableBatchConflation(java.lang.Boolean value)
Sets the value of the enableBatchConflation property. allowed object isBoolean- Parameters:
value- the value of the enableBatchConflation property
-
getMaximumQueueMemory
public java.lang.String getMaximumQueueMemory()
Gets the value of the maximumQueueMemory property. possible object isString- Returns:
- the value of the maximumQueueMemory property
-
setMaximumQueueMemory
public void setMaximumQueueMemory(java.lang.String value)
Sets the value of the maximumQueueMemory property. allowed object isString- Parameters:
value- the value of the maximumQueueMemory property
-
isPersistent
public java.lang.Boolean isPersistent()
Gets the value of the persistent property. possible object isBoolean- Returns:
- the value of the persistent property
-
setPersistent
public void setPersistent(java.lang.Boolean value)
Sets the value of the persistent property. allowed object isBoolean- Parameters:
value- the value of the persistent property
-
getDiskStoreName
public java.lang.String getDiskStoreName()
Gets the value of the diskStoreName property. possible object isString- Returns:
- the value of the diskStoreName property
-
setDiskStoreName
public void setDiskStoreName(java.lang.String value)
Sets the value of the diskStoreName property. allowed object isString- Parameters:
value- the value of the diskStoreName property
-
isDiskSynchronous
public java.lang.Boolean isDiskSynchronous()
Gets the value of the diskSynchronous property. possible object isBoolean- Returns:
- the value of the diskSynchronous property
-
setDiskSynchronous
public void setDiskSynchronous(java.lang.Boolean value)
Sets the value of the diskSynchronous property. allowed object isBoolean- Parameters:
value- the value of the diskSynchronous property
-
getDispatcherThreads
public java.lang.String getDispatcherThreads()
Gets the value of the dispatcherThreads property. possible object isString- Returns:
- the value of the dispatcherThreads property
-
setDispatcherThreads
public void setDispatcherThreads(java.lang.String value)
Sets the value of the dispatcherThreads property. allowed object isString- Parameters:
value- the value of the dispatcherThreads property
-
getOrderPolicy
public java.lang.String getOrderPolicy()
Gets the value of the orderPolicy property. possible object isString- Returns:
- the value of the orderPolicy property
-
setOrderPolicy
public void setOrderPolicy(java.lang.String value)
Sets the value of the orderPolicy property. allowed object isString- Parameters:
value- the value of the orderPolicy property
-
isForwardExpirationDestroy
public boolean isForwardExpirationDestroy()
Gets the value of the forwardExpirationDestroy property. possible object isBoolean- Returns:
- the value of the forwardExpirationDestroy property
-
setForwardExpirationDestroy
public void setForwardExpirationDestroy(java.lang.Boolean value)
Sets the value of the forwardExpirationDestroy property. allowed object isBoolean- Parameters:
value- the value of the forwardExpirationDestroy property
-
-