Class CacheConfig.AsyncEventQueue
java.lang.Object
org.apache.geode.cache.configuration.CacheElement
org.apache.geode.cache.configuration.CacheConfig.AsyncEventQueue
- All Implemented Interfaces:
Serializable,org.apache.geode.lang.Identifiable<String>
- Enclosing class:
- CacheConfig
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DeclarableTypeprotected Stringprotected Stringprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected List<DeclarableType>protected DeclarableTypeprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the asyncEventListener property.Gets the value of the batchSize property.Gets the value of the batchTimeInterval property.Gets the value of the diskStoreName property.Gets the value of the dispatcherThreads property.Gets the value of the gatewayEventFilters property.Gets the value of the gatewayEventSubstitutionFilter property.getId()Gets the value of the id property.Gets the value of the maximumQueueMemory property.Gets the value of the orderPolicy property.Gets the value of the diskSynchronous property.Gets the value of the enableBatchConflation property.booleanGets the value of the forwardExpirationDestroy property.Gets the value of the parallel property.Gets the value of whether the queue was created with paused processing of the events queuedGets the value of the persistent property.voidSets the value of the asyncEventListener property.voidsetBatchSize(String value) Sets the value of the batchSize property.voidsetBatchTimeInterval(String value) Sets the value of the batchTimeInterval property.voidsetDiskStoreName(String value) Sets the value of the diskStoreName property.voidsetDiskSynchronous(Boolean value) Sets the value of the diskSynchronous property.voidsetDispatcherThreads(String value) Sets the value of the dispatcherThreads property.voidsetEnableBatchConflation(Boolean value) Sets the value of the enableBatchConflation property.voidSets the value of the forwardExpirationDestroy property.voidSets the value of the gatewayEventSubstitutionFilter property.voidSets the value of the id property.voidsetMaximumQueueMemory(String value) Sets the value of the maximumQueueMemory property.voidsetOrderPolicy(String value) Sets the value of the orderPolicy property.voidsetParallel(Boolean value) Sets the value of the parallel property.voidsetPauseEventProcessing(Boolean pauseEventProcessing) Sets the value of whether the queue will be created with paused processing of the events queuedvoidsetPersistent(Boolean value) Sets the value of the persistent property.
-
Field Details
-
gatewayEventFilters
-
gatewayEventSubstitutionFilter
-
asyncEventListener
-
id
-
parallel
-
batchSize
-
batchTimeInterval
-
enableBatchConflation
-
maximumQueueMemory
-
persistent
-
diskStoreName
-
diskSynchronous
-
dispatcherThreads
-
orderPolicy
-
forwardExpirationDestroy
-
pauseEventProcessing
-
-
Constructor Details
-
AsyncEventQueue
public AsyncEventQueue()
-
-
Method Details
-
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
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
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
Gets the value of the gatewayEventSubstitutionFilter property. possible object isDeclarableType- Returns:
- the value of the gatewayEventSubstitutionFilter property
-
setGatewayEventSubstitutionFilter
Sets the value of the gatewayEventSubstitutionFilter property. allowed object isDeclarableType- Parameters:
value- the value of the gatewayEventSubstitutionFilter property
-
getAsyncEventListener
Gets the value of the asyncEventListener property. possible object isDeclarableType- Returns:
- the value of the asyncEventListener property
-
setAsyncEventListener
Sets the value of the asyncEventListener property. allowed object isDeclarableType- Parameters:
value- the value of the asyncEventListener property
-
getId
Gets the value of the id property. possible object isString- Returns:
- the value of the id property
-
setId
Sets the value of the id property. allowed object isString- Parameters:
value- the value of the id property
-
isParallel
Gets the value of the parallel property. possible object isBoolean- Returns:
- the value of the parallel property
-
setParallel
Sets the value of the parallel property. allowed object isBoolean- Parameters:
value- the value of the parallel property
-
getBatchSize
Gets the value of the batchSize property. possible object isString- Returns:
- the value of the batchSize property
-
setBatchSize
Sets the value of the batchSize property. allowed object isString- Parameters:
value- the value of the batchSize property
-
getBatchTimeInterval
Gets the value of the batchTimeInterval property. possible object isString- Returns:
- the value of the batchTimeInterval property
-
setBatchTimeInterval
Sets the value of the batchTimeInterval property. allowed object isString- Parameters:
value- the value of the batchTimeInterval property
-
isEnableBatchConflation
Gets the value of the enableBatchConflation property. possible object isBoolean- Returns:
- the value of the enableBatchConflation property
-
setEnableBatchConflation
Sets the value of the enableBatchConflation property. allowed object isBoolean- Parameters:
value- the value of the enableBatchConflation property
-
getMaximumQueueMemory
Gets the value of the maximumQueueMemory property. possible object isString- Returns:
- the value of the maximumQueueMemory property
-
setMaximumQueueMemory
Sets the value of the maximumQueueMemory property. allowed object isString- Parameters:
value- the value of the maximumQueueMemory property
-
isPersistent
Gets the value of the persistent property. possible object isBoolean- Returns:
- the value of the persistent property
-
setPersistent
Sets the value of the persistent property. allowed object isBoolean- Parameters:
value- the value of the persistent property
-
getDiskStoreName
Gets the value of the diskStoreName property. possible object isString- Returns:
- the value of the diskStoreName property
-
setDiskStoreName
Sets the value of the diskStoreName property. allowed object isString- Parameters:
value- the value of the diskStoreName property
-
isDiskSynchronous
Gets the value of the diskSynchronous property. possible object isBoolean- Returns:
- the value of the diskSynchronous property
-
setDiskSynchronous
Sets the value of the diskSynchronous property. allowed object isBoolean- Parameters:
value- the value of the diskSynchronous property
-
getDispatcherThreads
Gets the value of the dispatcherThreads property. possible object isString- Returns:
- the value of the dispatcherThreads property
-
setDispatcherThreads
Sets the value of the dispatcherThreads property. allowed object isString- Parameters:
value- the value of the dispatcherThreads property
-
getOrderPolicy
Gets the value of the orderPolicy property. possible object isString- Returns:
- the value of the orderPolicy property
-
setOrderPolicy
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
Sets the value of the forwardExpirationDestroy property. allowed object isBoolean- Parameters:
value- the value of the forwardExpirationDestroy property
-