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 Object
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="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 StringalertThresholdprotected StringbatchSizeprotected StringbatchTimeIntervalprotected StringdiskStoreNameprotected BooleandiskSynchronousprotected StringdispatcherThreadsprotected BooleanenableBatchConflationprotected BooleanenablePersistenceprotected BooleanenforceThreadsConnectSameReceiverprotected List<DeclarableType>gatewayEventFiltersprotected DeclarableTypegatewayEventSubstitutionFilterprotected List<DeclarableType>gatewayTransportFiltersprotected BooleangroupTransactionEventsprotected Stringidprotected BooleanmanualStartprotected StringmaximumQueueMemoryprotected StringorderPolicyprotected Booleanparallelprotected StringremoteDistributedSystemIdprotected StringsocketBufferSizeprotected StringsocketReadTimeout
-
Constructor Summary
Constructors Constructor Description GatewaySender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareGatewayEventFiltersUpdated()StringgetAlertThreshold()Gets the value of the alertThreshold property.StringgetBatchSize()Gets the value of the batchSize property.StringgetBatchTimeInterval()Gets the value of the batchTimeInterval property.StringgetDiskStoreName()Gets the value of the diskStoreName property.StringgetDispatcherThreads()Gets the value of the dispatcherThreads property.BooleangetEnforceThreadsConnectSameReceiver()Gets the value of the enforceThreadsConnectSameReceiver property.List<DeclarableType>getGatewayEventFilters()Gets the value of the gatewayEventFilters property.DeclarableTypegetGatewayEventSubstitutionFilter()Gets the value of the gatewayEventSubstitutionFilter property.List<DeclarableType>getGatewayTransportFilters()Gets the value of the gatewayTransportFilters property.StringgetId()Gets the value of the id property.StringgetMaximumQueueMemory()Gets the value of the maximumQueueMemory property.StringgetOrderPolicy()Gets the value of the orderPolicy property.StringgetRemoteDistributedSystemId()Gets the value of the remoteDistributedSystemId property.StringgetSocketBufferSize()Gets the value of the socketBufferSize property.StringgetSocketReadTimeout()Gets the value of the socketReadTimeout property.BooleanisDiskSynchronous()Gets the value of the diskSynchronous property.BooleanisEnableBatchConflation()Gets the value of the enableBatchConflation property.BooleanisEnablePersistence()Gets the value of the enablePersistence property.BooleanisManualStart()Gets the value of the manualStart property.BooleanisParallel()Gets the value of the parallel property.BooleanmustGroupTransactionEvents()voidsetAlertThreshold(String value)Sets the value of the alertThreshold 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.voidsetEnablePersistence(Boolean value)Sets the value of the enablePersistence property.voidsetEnforceThreadsConnectSameReceiver(Boolean value)Sets the value of the enforceThreadsConnectSameReceiver property.voidsetGatewayEventSubstitutionFilter(DeclarableType value)Sets the value of the gatewayEventSubstitutionFilter property.voidsetGroupTransactionEvents(Boolean value)voidsetId(String value)Sets the value of the id property.voidsetManualStart(Boolean value)Sets the value of the manualStart 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.voidsetRemoteDistributedSystemId(String value)Sets the value of the remoteDistributedSystemId property.voidsetSocketBufferSize(String value)Sets the value of the socketBufferSize property.voidsetSocketReadTimeout(String value)Sets the value of the socketReadTimeout property.
-
-
-
Field Detail
-
gatewayEventFilters
protected List<DeclarableType> gatewayEventFilters
-
gatewayEventSubstitutionFilter
protected DeclarableType gatewayEventSubstitutionFilter
-
gatewayTransportFilters
protected List<DeclarableType> gatewayTransportFilters
-
id
protected String id
-
remoteDistributedSystemId
protected String remoteDistributedSystemId
-
parallel
protected Boolean parallel
-
manualStart
protected Boolean manualStart
-
socketBufferSize
protected String socketBufferSize
-
socketReadTimeout
protected String socketReadTimeout
-
enableBatchConflation
protected Boolean enableBatchConflation
-
batchSize
protected String batchSize
-
batchTimeInterval
protected String batchTimeInterval
-
enablePersistence
protected Boolean enablePersistence
-
diskStoreName
protected String diskStoreName
-
diskSynchronous
protected Boolean diskSynchronous
-
maximumQueueMemory
protected String maximumQueueMemory
-
alertThreshold
protected String alertThreshold
-
dispatcherThreads
protected String dispatcherThreads
-
orderPolicy
protected String orderPolicy
-
groupTransactionEvents
protected Boolean groupTransactionEvents
-
enforceThreadsConnectSameReceiver
protected Boolean enforceThreadsConnectSameReceiver
-
-
Method Detail
-
getGatewayEventFilters
public 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 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 String getId()
Gets the value of the id property. possible object isString- Returns:
- the ID.
-
setId
public void setId(String value)
Sets the value of the id property. allowed object isString- Parameters:
value- the ID.
-
getRemoteDistributedSystemId
public String getRemoteDistributedSystemId()
Gets the value of the remoteDistributedSystemId property. possible object isString- Returns:
- the remote distributed system ID.
-
setRemoteDistributedSystemId
public void setRemoteDistributedSystemId(String value)
Sets the value of the remoteDistributedSystemId property. allowed object isString- Parameters:
value- the remote distributed system ID.
-
mustGroupTransactionEvents
public Boolean mustGroupTransactionEvents()
-
setGroupTransactionEvents
public void setGroupTransactionEvents(Boolean value)
-
isParallel
public Boolean isParallel()
Gets the value of the parallel property. possible object isBoolean- Returns:
- true if parallel is enabled, false otherwise.
-
setParallel
public void setParallel(Boolean value)
Sets the value of the parallel property. allowed object isBoolean- Parameters:
value- enable or disable parallel.
-
isManualStart
public 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(Boolean value)
Sets the value of the manualStart property. allowed object isBoolean- Parameters:
value- enables or disables manual start.
-
getSocketBufferSize
public String getSocketBufferSize()
Gets the value of the socketBufferSize property. possible object isString- Returns:
- the socket buffer size.
-
setSocketBufferSize
public void setSocketBufferSize(String value)
Sets the value of the socketBufferSize property. allowed object isString- Parameters:
value- the socket buffer size.
-
getSocketReadTimeout
public String getSocketReadTimeout()
Gets the value of the socketReadTimeout property. possible object isString- Returns:
- the socket read timeout.
-
setSocketReadTimeout
public void setSocketReadTimeout(String value)
Sets the value of the socketReadTimeout property. allowed object isString- Parameters:
value- the socket read timeout.
-
isEnableBatchConflation
public 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(Boolean value)
Sets the value of the enableBatchConflation property. allowed object isBoolean- Parameters:
value- enable or disable batch conflation.
-
getBatchSize
public String getBatchSize()
Gets the value of the batchSize property. possible object isString- Returns:
- the batch size.
-
setBatchSize
public void setBatchSize(String value)
Sets the value of the batchSize property. allowed object isString- Parameters:
value- the batch size.
-
getBatchTimeInterval
public String getBatchTimeInterval()
Gets the value of the batchTimeInterval property. possible object isString- Returns:
- the batch time interval.
-
setBatchTimeInterval
public void setBatchTimeInterval(String value)
Sets the value of the batchTimeInterval property. allowed object isString- Parameters:
value- the batch time interval.
-
isEnablePersistence
public Boolean isEnablePersistence()
Gets the value of the enablePersistence property. possible object isBoolean- Returns:
- true if persistence is enabled, false otherwise.
-
setEnablePersistence
public void setEnablePersistence(Boolean value)
Sets the value of the enablePersistence property. allowed object isBoolean- Parameters:
value- enables or disables persistence.
-
getDiskStoreName
public String getDiskStoreName()
Gets the value of the diskStoreName property. possible object isString- Returns:
- disk store name.
-
setDiskStoreName
public void setDiskStoreName(String value)
Sets the value of the diskStoreName property. allowed object isString- Parameters:
value- disk store name.
-
isDiskSynchronous
public 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(Boolean value)
Sets the value of the diskSynchronous property. allowed object isBoolean- Parameters:
value- true for synchronous, false for asynchronous.
-
getMaximumQueueMemory
public String getMaximumQueueMemory()
Gets the value of the maximumQueueMemory property. possible object isString- Returns:
- the maximum queue memory.
-
setMaximumQueueMemory
public void setMaximumQueueMemory(String value)
Sets the value of the maximumQueueMemory property. allowed object isString- Parameters:
value- the maximum queue memory.
-
getAlertThreshold
public String getAlertThreshold()
Gets the value of the alertThreshold property. possible object isString- Returns:
- the alert threshold.
-
setAlertThreshold
public void setAlertThreshold(String value)
Sets the value of the alertThreshold property. allowed object isString- Parameters:
value- the alert threshold.
-
getDispatcherThreads
public String getDispatcherThreads()
Gets the value of the dispatcherThreads property. possible object isString- Returns:
- the number of dispatched threads.
-
setDispatcherThreads
public void setDispatcherThreads(String value)
Sets the value of the dispatcherThreads property. allowed object isString- Parameters:
value- the number of dispatched threads.
-
getOrderPolicy
public String getOrderPolicy()
Gets the value of the orderPolicy property. possible object isString- Returns:
- the order policy.
-
setOrderPolicy
public void setOrderPolicy(String value)
Sets the value of the orderPolicy property. allowed object isString- Parameters:
value- the order policy.
-
setEnforceThreadsConnectSameReceiver
public void setEnforceThreadsConnectSameReceiver(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.
-
-