@Experimental public class ServerType extends Object
Java class for server-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="server-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="client-subscription" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="eviction-policy" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="entry"/>
<enumeration value="mem"/>
</restriction>
</simpleType>
</attribute>
<attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="disk-store-name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="overflow-directory" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="custom-load-probe" minOccurs="0">
<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>
</sequence>
<attribute name="bind-address" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="hostname-for-clients" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="max-connections" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="maximum-message-count" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="maximum-time-between-pings" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="max-threads" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="message-time-to-live" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="notify-by-subscription" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="port" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="socket-buffer-size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="load-poll-interval" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerType.ClientSubscription
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
bindAddress |
protected ServerType.ClientSubscription |
clientSubscription |
protected DeclarableType |
customLoadProbe |
protected List<String> |
groups |
protected String |
hostnameForClients |
protected String |
loadPollInterval |
protected String |
maxConnections |
protected String |
maximumMessageCount |
protected String |
maximumTimeBetweenPings |
protected String |
maxThreads |
protected String |
messageTimeToLive |
protected Boolean |
notifyBySubscription |
protected String |
port |
protected String |
socketBufferSize |
| Constructor and Description |
|---|
ServerType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBindAddress()
Gets the value of the bindAddress property.
|
ServerType.ClientSubscription |
getClientSubscription()
Gets the value of the clientSubscription property.
|
DeclarableType |
getCustomLoadProbe()
Gets the value of the customLoadProbe property.
|
List<String> |
getGroups()
Gets the value of the group property.
|
String |
getHostnameForClients()
Gets the value of the hostnameForClients property.
|
String |
getLoadPollInterval()
Gets the value of the loadPollInterval property.
|
String |
getMaxConnections()
Gets the value of the maxConnections property.
|
String |
getMaximumMessageCount()
Gets the value of the maximumMessageCount property.
|
String |
getMaximumTimeBetweenPings()
Gets the value of the maximumTimeBetweenPings property.
|
String |
getMaxThreads()
Gets the value of the maxThreads property.
|
String |
getMessageTimeToLive()
Gets the value of the messageTimeToLive property.
|
String |
getPort()
Gets the value of the port property.
|
String |
getSocketBufferSize()
Gets the value of the socketBufferSize property.
|
Boolean |
isNotifyBySubscription()
Gets the value of the notifyBySubscription property.
|
void |
setBindAddress(String value)
Sets the value of the bindAddress property.
|
void |
setClientSubscription(ServerType.ClientSubscription value)
Sets the value of the clientSubscription property.
|
void |
setCustomLoadProbe(DeclarableType value)
Sets the value of the customLoadProbe property.
|
void |
setHostnameForClients(String value)
Sets the value of the hostnameForClients property.
|
void |
setLoadPollInterval(String value)
Sets the value of the loadPollInterval property.
|
void |
setMaxConnections(String value)
Sets the value of the maxConnections property.
|
void |
setMaximumMessageCount(String value)
Sets the value of the maximumMessageCount property.
|
void |
setMaximumTimeBetweenPings(String value)
Sets the value of the maximumTimeBetweenPings property.
|
void |
setMaxThreads(String value)
Sets the value of the maxThreads property.
|
void |
setMessageTimeToLive(String value)
Sets the value of the messageTimeToLive property.
|
void |
setNotifyBySubscription(Boolean value)
Sets the value of the notifyBySubscription property.
|
void |
setPort(String value)
Sets the value of the port property.
|
void |
setSocketBufferSize(String value)
Sets the value of the socketBufferSize property.
|
protected ServerType.ClientSubscription clientSubscription
protected DeclarableType customLoadProbe
protected String bindAddress
protected String hostnameForClients
protected String maxConnections
protected String maximumMessageCount
protected String maximumTimeBetweenPings
protected String maxThreads
protected String messageTimeToLive
protected Boolean notifyBySubscription
protected String port
protected String socketBufferSize
protected String loadPollInterval
public List<String> getGroups()
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 group property.
For example, to add a new item, do as follows:
getGroups().add(newItem);
Objects of the following type(s) are allowed in the list
String
List of groups.public ServerType.ClientSubscription getClientSubscription()
ServerType.ClientSubscriptionpublic void setClientSubscription(ServerType.ClientSubscription value)
ServerType.ClientSubscriptionvalue - the client subscription.public DeclarableType getCustomLoadProbe()
LoadProbe type.public void setCustomLoadProbe(DeclarableType value)
value - the custom LoadProbe type.public String getBindAddress()
Stringpublic void setBindAddress(String value)
Stringvalue - the bind address.public String getHostnameForClients()
Stringpublic void setHostnameForClients(String value)
Stringvalue - the host name for clients.public String getMaxConnections()
Stringpublic void setMaxConnections(String value)
Stringvalue - the maximum number of connections.public String getMaximumMessageCount()
Stringpublic void setMaximumMessageCount(String value)
Stringvalue - the maximum message count.public String getMaximumTimeBetweenPings()
Stringpublic void setMaximumTimeBetweenPings(String value)
Stringvalue - the maximum time between pings.public String getMaxThreads()
Stringpublic void setMaxThreads(String value)
Stringvalue - the maximum number of threads.public String getMessageTimeToLive()
Stringpublic void setMessageTimeToLive(String value)
Stringvalue - the message time to live.public Boolean isNotifyBySubscription()
Booleanpublic void setNotifyBySubscription(Boolean value)
Booleanvalue - enables or disables notify by subscription.public String getPort()
Stringpublic void setPort(String value)
Stringvalue - the port number.public String getSocketBufferSize()
Stringpublic void setSocketBufferSize(String value)
Stringvalue - the socket buffer size.public String getLoadPollInterval()
String