| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | balancer
The balancer configuration to use. |
| private final int | |
| private final URI | connectionURI
The connection URI. |
| private final String | domain
The failover domain. |
| private boolean | flushPackets
Tell how to flush the packets. |
| private final int | flushwait
Time to wait before flushing. |
| private final String | jvmRoute
The JVM Route. |
| private final int | |
| private final int | ping
Time to wait for a pong answer to a ping. |
| private final boolean | |
| private final int | |
| private final int | timeout
Max time the proxy will wait for the backend connection. |
| private final long | ttl
max time in milliseconds to life for connection above smax. |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static NodeConfig. | |
| public String | |
| public int | Returns: the number of cached connectionsGet the amount of connections which should be kept alive in the connection pool. |
| public URI | |
| public String | |
| public int | |
| public String | |
| public int | Returns: the max connections limitGet the maximum connection limit for a nodes thread-pool. |
| public int | |
| public int | |
| public int | |
| public int | |
| public long | |
| public boolean | |
| public boolean | Returns: true if requests without a session id can be queuedFlag indicating whether requests without a session can be queued. |
| public void |
| balancer | back to summary |
|---|---|
| private final String balancer The balancer configuration to use. | |
| cacheConnections | back to summary |
|---|---|
| private final int cacheConnections | |
| connectionURI | back to summary |
|---|---|
| private final URI connectionURI The connection URI. | |
| domain | back to summary |
|---|---|
| private final String domain The failover domain. | |
| flushPackets | back to summary |
|---|---|
| private boolean flushPackets Tell how to flush the packets. On: Send immediately, Auto wait for flushwait time before sending, Off don't flush. Default: "Off" | |
| flushwait | back to summary |
|---|---|
| private final int flushwait Time to wait before flushing. Value in milliseconds. Default: 10 | |
| jvmRoute | back to summary |
|---|---|
| private final String jvmRoute The JVM Route. | |
| maxConnections | back to summary |
|---|---|
| private final int maxConnections | |
| ping | back to summary |
|---|---|
| private final int ping Time to wait for a pong answer to a ping. 0 means we don't try to ping before sending. Value in seconds Default: 10 (10_000 in milliseconds) | |
| queueNewRequests | back to summary |
|---|---|
| private final boolean queueNewRequests | |
| requestQueueSize | back to summary |
|---|---|
| private final int requestQueueSize | |
| timeout | back to summary |
|---|---|
| private final int timeout Max time the proxy will wait for the backend connection. Default 0 no timeout value in seconds. | |
| ttl | back to summary |
|---|---|
| private final long ttl max time in milliseconds to life for connection above smax. Default 60 seconds (60,000 in milliseconds). | |
| waitWorker | back to summary |
|---|---|
| private final int waitWorker | |
| NodeConfig | back to summary |
|---|---|
| pack-priv NodeConfig(NodeConfig. | |
| builder | back to summary |
|---|---|
| public static NodeConfig. | |
| getBalancer | back to summary |
|---|---|
| public String getBalancer() Getter for balancer
| |
| getCacheConnections | back to summary |
|---|---|
| public int getCacheConnections() Get the amount of connections which should be kept alive in the connection pool.
| |
| getConnectionURI | back to summary |
|---|---|
| public URI getConnectionURI() Get the connection URI.
| |
| getDomain | back to summary |
|---|---|
| public String getDomain() Getter for domain
| |
| getFlushwait | back to summary |
|---|---|
| public int getFlushwait() Getter for flushwait
| |
| getJvmRoute | back to summary |
|---|---|
| public String getJvmRoute() | |
| getMaxConnections | back to summary |
|---|---|
| public int getMaxConnections() Get the maximum connection limit for a nodes thread-pool.
| |
| getPing | back to summary |
|---|---|
| public int getPing() Getter for ping
| |
| getRequestQueueSize | back to summary |
|---|---|
| public int getRequestQueueSize() Get the max queue size for requests.
| |
| getSmax | back to summary |
|---|---|
| public int getSmax() Getter for smax
| |
| getTimeout | back to summary |
|---|---|
| public int getTimeout() Getter for timeout
| |
| getTtl | back to summary |
|---|---|
| public long getTtl() Getter for ttl
| |
| isFlushPackets | back to summary |
|---|---|
| public boolean isFlushPackets() | |
| isQueueNewRequests | back to summary |
|---|---|
| public boolean isQueueNewRequests() Flag indicating whether requests without a session can be queued.
| |
| setFlushPackets | back to summary |
|---|---|
| public void setFlushPackets(boolean flushPackets) | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private int | |
| private String | |
| private boolean | |
| private int | |
| private String | |
| private String | |
| private int | |
| private int | |
| private int | |
| private boolean | |
| private int | |
| private int | |
| private long | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NodeConfig | |
| public int | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public NodeConfig. | |
| public void |
| balancer | back to summary |
|---|---|
| private String balancer | |
| cacheConnections | back to summary |
|---|---|
| private int cacheConnections | |
| domain | back to summary |
|---|---|
| private String domain | |
| flushPackets | back to summary |
|---|---|
| private boolean flushPackets | |
| flushwait | back to summary |
|---|---|
| private int flushwait | |
| hostname | back to summary |
|---|---|
| private String hostname | |
| jvmRoute | back to summary |
|---|---|
| private String jvmRoute | |
| maxConnections | back to summary |
|---|---|
| private int maxConnections | |
| ping | back to summary |
|---|---|
| private int ping | |
| port | back to summary |
|---|---|
| private int port | |
| queueNewRequests | back to summary |
|---|---|
| private boolean queueNewRequests | |
| requestQueueSize | back to summary |
|---|---|
| private int requestQueueSize | |
| timeout | back to summary |
|---|---|
| private int timeout | |
| ttl | back to summary |
|---|---|
| private long ttl | |
| type | back to summary |
|---|---|
| private String type | |
| waitWorker | back to summary |
|---|---|
| private int waitWorker | |
| NodeBuilder | back to summary |
|---|---|
| pack-priv NodeBuilder(final ModCluster modCluster) | |
| build | back to summary |
|---|---|
| public NodeConfig build() throws URISyntaxException | |
| getWaitWorker | back to summary |
|---|---|
| public int getWaitWorker() | |
| setBalancer | back to summary |
|---|---|
| public NodeConfig. | |
| setCacheConnections | back to summary |
|---|---|
| public NodeConfig. | |
| setDomain | back to summary |
|---|---|
| public NodeConfig. | |
| setFlushPackets | back to summary |
|---|---|
| public NodeConfig. | |
| setFlushwait | back to summary |
|---|---|
| public NodeConfig. | |
| setHostname | back to summary |
|---|---|
| public NodeConfig. | |
| setJvmRoute | back to summary |
|---|---|
| public NodeConfig. | |
| setMaxConnections | back to summary |
|---|---|
| public NodeConfig. | |
| setPing | back to summary |
|---|---|
| public NodeConfig. | |
| setPort | back to summary |
|---|---|
| public NodeConfig. | |
| setQueueNewRequests | back to summary |
|---|---|
| public NodeConfig. | |
| setRequestQueueSize | back to summary |
|---|---|
| public NodeConfig. | |
| setSmax | back to summary |
|---|---|
| public NodeConfig. | |
| setTimeout | back to summary |
|---|---|
| public NodeConfig. | |
| setTtl | back to summary |
|---|---|
| public NodeConfig. | |
| setType | back to summary |
|---|---|
| public NodeConfig. | |
| setWaitWorker | back to summary |
|---|---|
| public void setWaitWorker(int waitWorker) | |