public static class CacheConfig.GatewayHub.Gateway 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>
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheConfig.GatewayHub.Gateway.GatewayEndpoint
Java class for anonymous complex type.
|
static class |
CacheConfig.GatewayHub.Gateway.GatewayQueue
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
concurrencyLevel |
protected Boolean |
earlyAck |
protected List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint> |
gatewayEndpoints |
protected List<DeclarableType> |
gatewayListeners |
protected CacheConfig.GatewayHub.Gateway.GatewayQueue |
gatewayQueue |
protected String |
id |
protected String |
orderPolicy |
protected String |
socketBufferSize |
protected String |
socketReadTimeout |
| Constructor and Description |
|---|
Gateway() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConcurrencyLevel()
Gets the value of the concurrencyLevel property.
|
List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint> |
getGatewayEndpoints()
Gets the value of the gatewayEndpoints property.
|
List<DeclarableType> |
getGatewayListeners()
Gets the value of the gatewayListeners property.
|
CacheConfig.GatewayHub.Gateway.GatewayQueue |
getGatewayQueue()
Gets the value of the gatewayQueue property.
|
String |
getId()
Gets the value of the id property.
|
String |
getOrderPolicy()
Gets the value of the orderPolicy property.
|
String |
getSocketBufferSize()
Gets the value of the socketBufferSize property.
|
String |
getSocketReadTimeout()
Gets the value of the socketReadTimeout property.
|
Boolean |
isEarlyAck()
Gets the value of the earlyAck property.
|
void |
setConcurrencyLevel(String value)
Sets the value of the concurrencyLevel property.
|
void |
setEarlyAck(Boolean value)
Sets the value of the earlyAck property.
|
void |
setGatewayQueue(CacheConfig.GatewayHub.Gateway.GatewayQueue value)
Sets the value of the gatewayQueue property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setOrderPolicy(String value)
Sets the value of the orderPolicy property.
|
void |
setSocketBufferSize(String value)
Sets the value of the socketBufferSize property.
|
void |
setSocketReadTimeout(String value)
Sets the value of the socketReadTimeout property.
|
protected List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint> gatewayEndpoints
protected List<DeclarableType> gatewayListeners
protected CacheConfig.GatewayHub.Gateway.GatewayQueue gatewayQueue
protected Boolean earlyAck
protected String id
protected String socketBufferSize
protected String socketReadTimeout
protected String concurrencyLevel
protected String orderPolicy
public List<CacheConfig.GatewayHub.Gateway.GatewayEndpoint> getGatewayEndpoints()
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 set method 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
public List<DeclarableType> getGatewayListeners()
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 set method 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
public CacheConfig.GatewayHub.Gateway.GatewayQueue getGatewayQueue()
CacheConfig.GatewayHub.Gateway.GatewayQueuepublic void setGatewayQueue(CacheConfig.GatewayHub.Gateway.GatewayQueue value)
CacheConfig.GatewayHub.Gateway.GatewayQueuepublic Boolean isEarlyAck()
Booleanpublic void setEarlyAck(Boolean value)
Booleanpublic String getSocketBufferSize()
Stringpublic void setSocketBufferSize(String value)
Stringpublic String getSocketReadTimeout()
Stringpublic void setSocketReadTimeout(String value)
Stringpublic String getConcurrencyLevel()
Stringpublic void setConcurrencyLevel(String value)
Stringpublic String getOrderPolicy()
String