VMware GemFire Java API Reference
Class CacheConfig.GatewayHub.Gateway
- java.lang.Object
-
- org.apache.geode.cache.configuration.CacheConfig.GatewayHub.Gateway
-
- Enclosing class:
- CacheConfig.GatewayHub
public static class CacheConfig.GatewayHub.Gateway 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> <choice> <element name="gateway-endpoint" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="host" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="gateway-listener" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="class-name" type="{http://geode.apache.org/schema/cache}class-name-type"/> <element name="parameter" type="{http://geode.apache.org/schema/cache}parameter-type" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> </choice> <element name="gateway-queue" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="alert-threshold" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="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="roll-oplogs" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="maximum-queue-memory" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="overflow-directory" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="early-ack" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <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="concurrency-level" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="order-policy" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCacheConfig.GatewayHub.Gateway.GatewayEndpointJava class for anonymous complex type.static classCacheConfig.GatewayHub.Gateway.GatewayQueueJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringconcurrencyLevelprotected java.lang.BooleanearlyAckprotected java.util.List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint>gatewayEndpointsprotected java.util.List<DeclarableType>gatewayListenersprotected CacheConfig.GatewayHub.Gateway.GatewayQueuegatewayQueueprotected java.lang.Stringidprotected java.lang.StringorderPolicyprotected java.lang.StringsocketBufferSizeprotected java.lang.StringsocketReadTimeout
-
Constructor Summary
Constructors Constructor Description Gateway()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConcurrencyLevel()Gets the value of the concurrencyLevel property.java.util.List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint>getGatewayEndpoints()Gets the value of the gatewayEndpoints property.java.util.List<DeclarableType>getGatewayListeners()Gets the value of the gatewayListeners property.CacheConfig.GatewayHub.Gateway.GatewayQueuegetGatewayQueue()Gets the value of the gatewayQueue property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetOrderPolicy()Gets the value of the orderPolicy property.java.lang.StringgetSocketBufferSize()Gets the value of the socketBufferSize property.java.lang.StringgetSocketReadTimeout()Gets the value of the socketReadTimeout property.java.lang.BooleanisEarlyAck()Gets the value of the earlyAck property.voidsetConcurrencyLevel(java.lang.String value)Sets the value of the concurrencyLevel property.voidsetEarlyAck(java.lang.Boolean value)Sets the value of the earlyAck property.voidsetGatewayQueue(CacheConfig.GatewayHub.Gateway.GatewayQueue value)Sets the value of the gatewayQueue property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetOrderPolicy(java.lang.String value)Sets the value of the orderPolicy 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
-
gatewayEndpoints
protected java.util.List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint> gatewayEndpoints
-
gatewayListeners
protected java.util.List<DeclarableType> gatewayListeners
-
gatewayQueue
protected CacheConfig.GatewayHub.Gateway.GatewayQueue gatewayQueue
-
earlyAck
protected java.lang.Boolean earlyAck
-
id
protected java.lang.String id
-
socketBufferSize
protected java.lang.String socketBufferSize
-
socketReadTimeout
protected java.lang.String socketReadTimeout
-
concurrencyLevel
protected java.lang.String concurrencyLevel
-
orderPolicy
protected java.lang.String orderPolicy
-
-
Method Detail
-
getGatewayEndpoints
public java.util.List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint> getGatewayEndpoints()
Gets the value of the gatewayEndpoints 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 gatewayEndpoints property.For example, to add a new item, do as follows:
getGatewayEndpoints().add(newItem);
Objects of the following type(s) are allowed in the list
CacheConfig.GatewayHub.Gateway.GatewayEndpoint- Returns:
- the
ListofCacheConfig.GatewayHub.Gateway.GatewayEndpoints.
-
getGatewayListeners
public java.util.List<DeclarableType> getGatewayListeners()
Gets the value of the gatewayListeners 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 gatewayListeners property.For example, to add a new item, do as follows:
getGatewayListeners().add(newItem);
Objects of the following type(s) are allowed in the list
DeclarableType- Returns:
- the
Listof gateway listeners.
-
getGatewayQueue
public CacheConfig.GatewayHub.Gateway.GatewayQueue getGatewayQueue()
Gets the value of the gatewayQueue property. possible object isCacheConfig.GatewayHub.Gateway.GatewayQueue- Returns:
- the
CacheConfig.GatewayHub.Gateway.GatewayQueue.
-
setGatewayQueue
public void setGatewayQueue(CacheConfig.GatewayHub.Gateway.GatewayQueue value)
Sets the value of the gatewayQueue property. allowed object isCacheConfig.GatewayHub.Gateway.GatewayQueue- Parameters:
value- the value of the gatewayQueue property
-
isEarlyAck
public java.lang.Boolean isEarlyAck()
Gets the value of the earlyAck property. possible object isBoolean- Returns:
- the value of the earlyAck property
-
setEarlyAck
public void setEarlyAck(java.lang.Boolean value)
Sets the value of the earlyAck property. allowed object isBoolean- Parameters:
value- the value of the earlyAck 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
-
getSocketBufferSize
public java.lang.String getSocketBufferSize()
Gets the value of the socketBufferSize property. possible object isString- Returns:
- the value of the socketBufferSize property
-
setSocketBufferSize
public void setSocketBufferSize(java.lang.String value)
Sets the value of the socketBufferSize property. allowed object isString- Parameters:
value- the value of the socketBufferSize property
-
getSocketReadTimeout
public java.lang.String getSocketReadTimeout()
Gets the value of the socketReadTimeout property. possible object isString- Returns:
- the value of the socketReadTimeout property
-
setSocketReadTimeout
public void setSocketReadTimeout(java.lang.String value)
Sets the value of the socketReadTimeout property. allowed object isString- Parameters:
value- the value of the socketReadTimeout property
-
getConcurrencyLevel
public java.lang.String getConcurrencyLevel()
Gets the value of the concurrencyLevel property. possible object isString- Returns:
- the value of the concurrencyLevel property
-
setConcurrencyLevel
public void setConcurrencyLevel(java.lang.String value)
Sets the value of the concurrencyLevel property. allowed object isString- Parameters:
value- the value of the concurrencyLevel 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
-
-