public class Node extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Node.NodeResources
Child mutators for Node
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
aliases()
The nodes aliases
|
Node |
aliases(List<String> value)
The nodes aliases
|
Integer |
cacheConnections()
The number of connections to keep alive indefinitely
|
Node |
cacheConnections(Integer value)
The number of connections to keep alive indefinitely
|
Node |
context(Context value)
Add the org.wildfly.swarm.config.undertow.configuration.mod_cluster.balancer.node.Context object to the list of subresources
|
Node |
contexts(List<Context> value)
Add all org.wildfly.swarm.config.undertow.configuration.mod_cluster.balancer.node.Context objects to this subresource
|
Integer |
elected()
The elected count
|
Node |
elected(Integer value)
The elected count
|
Boolean |
flushPackets()
If received data should be immediately flushed
|
Node |
flushPackets(Boolean value)
If received data should be immediately flushed
|
String |
getKey() |
Integer |
load()
The current load of this node
|
Node |
load(Integer value)
The current load of this node
|
String |
loadBalancingGroup()
The load balancing group this node belongs to
|
Node |
loadBalancingGroup(String value)
The load balancing group this node belongs to
|
Integer |
maxConnections()
The maximum number of connections per IO thread
|
Node |
maxConnections(Integer value)
The maximum number of connections per IO thread
|
Integer |
openConnections()
The current number of open connections
|
Node |
openConnections(Integer value)
The current number of open connections
|
Integer |
ping()
The nodes ping
|
Node |
ping(Integer value)
The nodes ping
|
Boolean |
queueNewRequests()
If a request is received and there is no worker immediately available should it be queued
|
Node |
queueNewRequests(Boolean value)
If a request is received and there is no worker immediately available should it be queued
|
Long |
read()
The number of bytes read from the node
|
Node |
read(Long value)
The number of bytes read from the node
|
Integer |
requestQueueSize()
The size of the request queue
|
Node |
requestQueueSize(Integer value)
The size of the request queue
|
String |
status()
The current status of this node
|
Node |
status(String value)
The current status of this node
|
Node.NodeResources |
subresources() |
Integer |
timeout()
The request timeout
|
Node |
timeout(Integer value)
The request timeout
|
Long |
ttl()
The time connections will stay alive with no requests before being closed, if the number of connections is larger than cache-connections
|
Node |
ttl(Long value)
The time connections will stay alive with no requests before being closed, if the number of connections is larger than cache-connections
|
String |
uri()
The URI that the load balancer uses to connect to the node
|
Node |
uri(String value)
The URI that the load balancer uses to connect to the node
|
Long |
written()
The number of bytes transferred to the node
|
Node |
written(Long value)
The number of bytes transferred to the node
|
public Node(String key)
public String getKey()
public Integer cacheConnections()
public Node cacheConnections(Integer value)
public Integer elected()
public Boolean flushPackets()
public Integer load()
public String loadBalancingGroup()
public Node loadBalancingGroup(String value)
public Integer maxConnections()
public Node maxConnections(Integer value)
public Integer openConnections()
public Integer ping()
public Boolean queueNewRequests()
public Node queueNewRequests(Boolean value)
public Long read()
public Integer requestQueueSize()
public String status()
public Integer timeout()
public Long ttl()
public Node ttl(Long value)
public String uri()
public Long written()
public Node.NodeResources subresources()
public Node contexts(List<Context> value)
value - List of org.wildfly.swarm.config.undertow.configuration.mod_cluster.balancer.node.Context objects.Copyright © 2015 JBoss by Red Hat. All rights reserved.