Class ServerType
java.lang.Object
org.apache.geode.cache.configuration.ServerType
- Direct Known Subclasses:
CacheConfig.CacheServer
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bindAddress property.Gets the value of the clientSubscription property.Gets the value of the customLoadProbe property.Gets the value of the group property.Gets the value of the hostnameForClients property.Gets the value of the loadPollInterval property.Gets the value of the maxConnections property.Gets the value of the maximumMessageCount property.Gets the value of the maximumTimeBetweenPings property.Gets the value of the maxThreads property.Gets the value of the messageTimeToLive property.getPort()Gets the value of the port property.Gets the value of the socketBufferSize property.Gets the value of the notifyBySubscription property.voidsetBindAddress(String value) Sets the value of the bindAddress property.voidSets the value of the clientSubscription property.voidsetCustomLoadProbe(DeclarableType value) Sets the value of the customLoadProbe property.voidsetHostnameForClients(String value) Sets the value of the hostnameForClients property.voidsetLoadPollInterval(String value) Sets the value of the loadPollInterval property.voidsetMaxConnections(String value) Sets the value of the maxConnections property.voidsetMaximumMessageCount(String value) Sets the value of the maximumMessageCount property.voidsetMaximumTimeBetweenPings(String value) Sets the value of the maximumTimeBetweenPings property.voidsetMaxThreads(String value) Sets the value of the maxThreads property.voidsetMessageTimeToLive(String value) Sets the value of the messageTimeToLive property.voidsetNotifyBySubscription(Boolean value) Sets the value of the notifyBySubscription property.voidSets the value of the port property.voidsetSocketBufferSize(String value) Sets the value of the socketBufferSize property.
-
Field Details
-
groups
-
clientSubscription
-
customLoadProbe
-
bindAddress
-
hostnameForClients
-
maxConnections
-
maximumMessageCount
-
maximumTimeBetweenPings
-
maxThreads
-
messageTimeToLive
-
notifyBySubscription
-
port
-
socketBufferSize
-
loadPollInterval
-
-
Constructor Details
-
ServerType
public ServerType()
-
-
Method Details
-
getGroups
Gets the value of the group 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 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- Returns:
- the
Listof groups.
-
getClientSubscription
Gets the value of the clientSubscription property. possible object isServerType.ClientSubscription- Returns:
- the client subscription.
-
setClientSubscription
Sets the value of the clientSubscription property. allowed object isServerType.ClientSubscription- Parameters:
value- the client subscription.
-
getCustomLoadProbe
Gets the value of the customLoadProbe property.- Returns:
- the custom
LoadProbetype.
-
setCustomLoadProbe
Sets the value of the customLoadProbe property.- Parameters:
value- the customLoadProbetype.
-
getBindAddress
Gets the value of the bindAddress property. possible object isString- Returns:
- the bind address.
-
setBindAddress
Sets the value of the bindAddress property. allowed object isString- Parameters:
value- the bind address.
-
getHostnameForClients
Gets the value of the hostnameForClients property. possible object isString- Returns:
- the hostname for clients.
-
setHostnameForClients
Sets the value of the hostnameForClients property. allowed object isString- Parameters:
value- the host name for clients.
-
getMaxConnections
Gets the value of the maxConnections property. possible object isString- Returns:
- the maximum number of connections.
-
setMaxConnections
Sets the value of the maxConnections property. allowed object isString- Parameters:
value- the maximum number of connections.
-
getMaximumMessageCount
Gets the value of the maximumMessageCount property. possible object isString- Returns:
- the maximum message count.
-
setMaximumMessageCount
Sets the value of the maximumMessageCount property. allowed object isString- Parameters:
value- the maximum message count.
-
getMaximumTimeBetweenPings
Gets the value of the maximumTimeBetweenPings property. possible object isString- Returns:
- the maximum tim between pings.
-
setMaximumTimeBetweenPings
Sets the value of the maximumTimeBetweenPings property. allowed object isString- Parameters:
value- the maximum time between pings.
-
getMaxThreads
Gets the value of the maxThreads property. possible object isString- Returns:
- the maximum number of threads.
-
setMaxThreads
Sets the value of the maxThreads property. allowed object isString- Parameters:
value- the maximum number of threads.
-
getMessageTimeToLive
Gets the value of the messageTimeToLive property. possible object isString- Returns:
- the message time to live.
-
setMessageTimeToLive
Sets the value of the messageTimeToLive property. allowed object isString- Parameters:
value- the message time to live.
-
isNotifyBySubscription
Gets the value of the notifyBySubscription property. possible object isBoolean- Returns:
- true is notify by subscription is enabled, false otherwise.
-
setNotifyBySubscription
Sets the value of the notifyBySubscription property. allowed object isBoolean- Parameters:
value- enables or disables notify by subscription.
-
getPort
Gets the value of the port property. possible object isString- Returns:
- the port number.
-
setPort
Sets the value of the port property. allowed object isString- Parameters:
value- the port number.
-
getSocketBufferSize
Gets the value of the socketBufferSize property. possible object isString- Returns:
- the socket buffer size.
-
setSocketBufferSize
Sets the value of the socketBufferSize property. allowed object isString- Parameters:
value- the socket buffer size.
-
getLoadPollInterval
Gets the value of the loadPollInterval property. possible object isString- Returns:
- the load polling interval.
-
setLoadPollInterval
Sets the value of the loadPollInterval property. allowed object isString- Parameters:
value- the load polling interval.
-