VMware GemFire Java API Reference
Class CacheConfig.GatewaySender
- java.lang.Object
-
- org.apache.geode.cache.configuration.CacheConfig.GatewaySender
-
- Enclosing class:
- CacheConfig
public static class CacheConfig.GatewaySender extends java.lang.ObjectJava 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="gateway-transport-filter" type="{http://geode.apache.org/schema/cache}class-with-parameters-type" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="remote-distributed-system-id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parallel" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="manual-start" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="socket-buffer-size" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="socket-read-timeout" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="enable-batch-conflation" 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-persistence" 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="maximum-queue-memory" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="alert-threshold" type="{http://www.w3.org/2001/XMLSchema}string" /> <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="group-transaction-events" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringalertThresholdprotected java.lang.StringbatchSizeprotected java.lang.StringbatchTimeIntervalprotected java.lang.StringdiskStoreNameprotected java.lang.BooleandiskSynchronousprotected java.lang.StringdispatcherThreadsprotected java.lang.BooleanenableBatchConflationprotected java.lang.BooleanenablePersistenceprotected java.lang.BooleanenforceThreadsConnectSameReceiverprotected java.util.List<DeclarableType>gatewayEventFiltersprotected DeclarableTypegatewayEventSubstitutionFilterprotected java.util.List<DeclarableType>gatewayTransportFiltersprotected java.lang.BooleangroupTransactionEventsprotected java.lang.Stringidprotected java.lang.BooleanmanualStartprotected java.lang.StringmaximumQueueMemoryprotected java.lang.StringorderPolicyprotected java.lang.Booleanparallelprotected java.lang.StringremoteDistributedSystemIdprotected java.lang.StringsocketBufferSizeprotected java.lang.StringsocketReadTimeout
-
Constructor Summary
Constructors Constructor Description GatewaySender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareGatewayEventFiltersUpdated()java.lang.StringgetAlertThreshold()Gets the value of the alertThreshold 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.lang.BooleangetEnforceThreadsConnectSameReceiver()Gets the value of the enforceThreadsConnectSameReceiver property.java.util.List<DeclarableType>getGatewayEventFilters()Gets the value of the gatewayEventFilters property.DeclarableTypegetGatewayEventSubstitutionFilter()Gets the value of the gatewayEventSubstitutionFilter property.java.util.List<DeclarableType>getGatewayTransportFilters()Gets the value of the gatewayTransportFilters 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.StringgetRemoteDistributedSystemId()Gets the value of the remoteDistributedSystemId property.java.lang.StringgetSocketBufferSize()Gets the value of the socketBufferSize property.java.lang.StringgetSocketReadTimeout()Gets the value of the socketReadTimeout property.java.lang.BooleanisDiskSynchronous()Gets the value of the diskSynchronous property.java.lang.BooleanisEnableBatchConflation()Gets the value of the enableBatchConflation property.java.lang.BooleanisEnablePersistence()Gets the value of the enablePersistence property.java.lang.BooleanisManualStart()Gets the value of the manualStart property.java.lang.BooleanisParallel()Gets the value of the parallel property.java.lang.BooleanmustGroupTransactionEvents()voidsetAlertThreshold(java.lang.String value)Sets the value of the alertThreshold 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.voidsetEnablePersistence(java.lang.Boolean value)Sets the value of the enablePersistence property.voidsetEnforceThreadsConnectSameReceiver(java.lang.Boolean value)Sets the value of the enforceThreadsConnectSameReceiver property.voidsetGatewayEventSubstitutionFilter(DeclarableType value)Sets the value of the gatewayEventSubstitutionFilter property.voidsetGroupTransactionEvents(java.lang.Boolean value)voidsetId(java.lang.String value)Sets the value of the id property.voidsetManualStart(java.lang.Boolean value)Sets the value of the manualStart 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.voidsetRemoteDistributedSystemId(java.lang.String value)Sets the value of the remoteDistributedSystemId property.voidsetSocketBufferSize(java.lang.String value)Sets the value of the socketBufferSize property.voidsetSocketReadTimeout(java.lang.String value)Sets the value of the socketReadTimeout property.
-
-
-
Field Detail
-
gatewayEventFilters
protected java.util.List<DeclarableType> gatewayEventFilters
-
gatewayEventSubstitutionFilter
protected DeclarableType gatewayEventSubstitutionFilter
-
gatewayTransportFilters
protected java.util.List<DeclarableType> gatewayTransportFilters
-
id
protected java.lang.String id
-
remoteDistributedSystemId
protected java.lang.String remoteDistributedSystemId
-
parallel
protected java.lang.Boolean parallel
-
manualStart
protected java.lang.Boolean manualStart
-
socketBufferSize
protected java.lang.String socketBufferSize
-
socketReadTimeout
protected java.lang.String socketReadTimeout
-
enableBatchConflation
protected java.lang.Boolean enableBatchConflation
-
batchSize
protected java.lang.String batchSize
-
batchTimeInterval
protected java.lang.String batchTimeInterval
-
enablePersistence
protected java.lang.Boolean enablePersistence
-
diskStoreName
protected java.lang.String diskStoreName
-
diskSynchronous
protected java.lang.Boolean diskSynchronous
-
maximumQueueMemory
protected java.lang.String maximumQueueMemory
-
alertThreshold
protected java.lang.String alertThreshold
-
dispatcherThreads
protected java.lang.String dispatcherThreads
-
orderPolicy
protected java.lang.String orderPolicy
-
groupTransactionEvents
protected java.lang.Boolean groupTransactionEvents
-
enforceThreadsConnectSameReceiver
protected java.lang.Boolean enforceThreadsConnectSameReceiver
-
-
Method Detail
-
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
ListofGatewayEventFiltertypes.
-
areGatewayEventFiltersUpdated
public boolean areGatewayEventFiltersUpdated()
-
getGatewayEventSubstitutionFilter
public DeclarableType getGatewayEventSubstitutionFilter()
Gets the value of the gatewayEventSubstitutionFilter property. possible object isDeclarableType- Returns:
- the
GatewayEventSubstitutionFiltertype.
-
setGatewayEventSubstitutionFilter
public void setGatewayEventSubstitutionFilter(DeclarableType value)
Sets the value of the gatewayEventSubstitutionFilter property. allowed object isDeclarableType- Parameters:
value- theGatewayEventSubstitutionFiltertype.
-
getGatewayTransportFilters
public java.util.List<DeclarableType> getGatewayTransportFilters()
Gets the value of the gatewayTransportFilters 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 gatewayTransportFilters property.For example, to add a new item, do as follows:
getGatewayTransportFilters().add(newItem);
Objects of the following type(s) are allowed in the list
DeclarableType- Returns:
- the
ListofGatewayTransportFiltertypes.
-
getId
public java.lang.String getId()
Gets the value of the id property. possible object isString- Returns:
- the ID.
-
setId
public void setId(java.lang.String value)
Sets the value of the id property. allowed object isString- Parameters:
value- the ID.
-
getRemoteDistributedSystemId
public java.lang.String getRemoteDistributedSystemId()
Gets the value of the remoteDistributedSystemId property. possible object isString- Returns:
- the remote distributed system ID.
-
setRemoteDistributedSystemId
public void setRemoteDistributedSystemId(java.lang.String value)
Sets the value of the remoteDistributedSystemId property. allowed object isString- Parameters:
value- the remote distributed system ID.
-
mustGroupTransactionEvents
public java.lang.Boolean mustGroupTransactionEvents()
-
setGroupTransactionEvents
public void setGroupTransactionEvents(java.lang.Boolean value)
-
isParallel
public java.lang.Boolean isParallel()
Gets the value of the parallel property. possible object isBoolean- Returns:
- true if parallel is enabled, false otherwise.
-
setParallel
public void setParallel(java.lang.Boolean value)
Sets the value of the parallel property. allowed object isBoolean- Parameters:
value- enable or disable parallel.
-
isManualStart
public java.lang.Boolean isManualStart()
Gets the value of the manualStart property. possible object isBoolean- Returns:
- true is manual start is enabled, false otherwise.
-
setManualStart
public void setManualStart(java.lang.Boolean value)
Sets the value of the manualStart property. allowed object isBoolean- Parameters:
value- enables or disables manual start.
-
getSocketBufferSize
public java.lang.String getSocketBufferSize()
Gets the value of the socketBufferSize property. possible object isString- Returns:
- the socket buffer size.
-
setSocketBufferSize
public void setSocketBufferSize(java.lang.String value)
Sets the value of the socketBufferSize property. allowed object isString- Parameters:
value- the socket buffer size.
-
getSocketReadTimeout
public java.lang.String getSocketReadTimeout()
Gets the value of the socketReadTimeout property. possible object isString- Returns:
- the socket read timeout.
-
setSocketReadTimeout
public void setSocketReadTimeout(java.lang.String value)
Sets the value of the socketReadTimeout property. allowed object isString- Parameters:
value- the socket read timeout.
-
isEnableBatchConflation
public java.lang.Boolean isEnableBatchConflation()
Gets the value of the enableBatchConflation property. possible object isBoolean- Returns:
- true if batch conflation is enabled, false otherwise.
-
setEnableBatchConflation
public void setEnableBatchConflation(java.lang.Boolean value)
Sets the value of the enableBatchConflation property. allowed object isBoolean- Parameters:
value- enable or disable batch conflation.
-
getBatchSize
public java.lang.String getBatchSize()
Gets the value of the batchSize property. possible object isString- Returns:
- the batch size.
-
setBatchSize
public void setBatchSize(java.lang.String value)
Sets the value of the batchSize property. allowed object isString- Parameters:
value- the batch size.
-
getBatchTimeInterval
public java.lang.String getBatchTimeInterval()
Gets the value of the batchTimeInterval property. possible object isString- Returns:
- the batch time interval.
-
setBatchTimeInterval
public void setBatchTimeInterval(java.lang.String value)
Sets the value of the batchTimeInterval property. allowed object isString- Parameters:
value- the batch time interval.
-
isEnablePersistence
public java.lang.Boolean isEnablePersistence()
Gets the value of the enablePersistence property. possible object isBoolean- Returns:
- true if persistence is enabled, false otherwise.
-
setEnablePersistence
public void setEnablePersistence(java.lang.Boolean value)
Sets the value of the enablePersistence property. allowed object isBoolean- Parameters:
value- enables or disables persistence.
-
getDiskStoreName
public java.lang.String getDiskStoreName()
Gets the value of the diskStoreName property. possible object isString- Returns:
- disk store name.
-
setDiskStoreName
public void setDiskStoreName(java.lang.String value)
Sets the value of the diskStoreName property. allowed object isString- Parameters:
value- disk store name.
-
isDiskSynchronous
public java.lang.Boolean isDiskSynchronous()
Gets the value of the diskSynchronous property. possible object isBoolean- Returns:
- true if the disk is synchronous, false if asynchronous.
-
setDiskSynchronous
public void setDiskSynchronous(java.lang.Boolean value)
Sets the value of the diskSynchronous property. allowed object isBoolean- Parameters:
value- true for synchronous, false for asynchronous.
-
getMaximumQueueMemory
public java.lang.String getMaximumQueueMemory()
Gets the value of the maximumQueueMemory property. possible object isString- Returns:
- the maximum queue memory.
-
setMaximumQueueMemory
public void setMaximumQueueMemory(java.lang.String value)
Sets the value of the maximumQueueMemory property. allowed object isString- Parameters:
value- the maximum queue memory.
-
getAlertThreshold
public java.lang.String getAlertThreshold()
Gets the value of the alertThreshold property. possible object isString- Returns:
- the alert threshold.
-
setAlertThreshold
public void setAlertThreshold(java.lang.String value)
Sets the value of the alertThreshold property. allowed object isString- Parameters:
value- the alert threshold.
-
getDispatcherThreads
public java.lang.String getDispatcherThreads()
Gets the value of the dispatcherThreads property. possible object isString- Returns:
- the number of dispatched threads.
-
setDispatcherThreads
public void setDispatcherThreads(java.lang.String value)
Sets the value of the dispatcherThreads property. allowed object isString- Parameters:
value- the number of dispatched threads.
-
getOrderPolicy
public java.lang.String getOrderPolicy()
Gets the value of the orderPolicy property. possible object isString- Returns:
- the order policy.
-
setOrderPolicy
public void setOrderPolicy(java.lang.String value)
Sets the value of the orderPolicy property. allowed object isString- Parameters:
value- the order policy.
-
setEnforceThreadsConnectSameReceiver
public void setEnforceThreadsConnectSameReceiver(java.lang.Boolean value)
Sets the value of the enforceThreadsConnectSameReceiver property. allowed object isBoolean- Parameters:
value- if true, threads ensure they connect to the same receiver, false if they do not.
-
getEnforceThreadsConnectSameReceiver
public java.lang.Boolean getEnforceThreadsConnectSameReceiver()
Gets the value of the enforceThreadsConnectSameReceiver property. possible object isBoolean- Returns:
- true if all threads ensure they connect to the same receiver, false otherwise.
-
-