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
List
of CacheConfig.GatewayHub.Gateway.GatewayEndpoint
s.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
List
of gateway listeners.public CacheConfig.GatewayHub.Gateway.GatewayQueue getGatewayQueue()
CacheConfig.GatewayHub.Gateway.GatewayQueue
CacheConfig.GatewayHub.Gateway.GatewayQueue
.public void setGatewayQueue(CacheConfig.GatewayHub.Gateway.GatewayQueue value)
CacheConfig.GatewayHub.Gateway.GatewayQueue
value
- the value of the gatewayQueue propertypublic Boolean isEarlyAck()
Boolean
public void setEarlyAck(Boolean value)
Boolean
value
- the value of the earlyAck propertypublic String getId()
String
public void setId(String value)
String
value
- the value of the id propertypublic String getSocketBufferSize()
String
public void setSocketBufferSize(String value)
String
value
- the value of the socketBufferSize propertypublic String getSocketReadTimeout()
String
public void setSocketReadTimeout(String value)
String
value
- the value of the socketReadTimeout propertypublic String getConcurrencyLevel()
String
public void setConcurrencyLevel(String value)
String
value
- the value of the concurrencyLevel propertypublic String getOrderPolicy()
String