public class GridConfiguration extends StandaloneConfiguration
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
cleanUpCycle
Clean up cycle for remote proxies.
|
java.util.Map<java.lang.String,java.lang.String> |
custom
Custom key/value pairs for the hub registry.
|
java.lang.String |
host
Hostname or IP to use.
|
java.lang.Integer |
maxSession
Max "browser" sessions a node can handle.
|
java.util.List<java.lang.String> |
servlets
Extra servlets to initialize/use on the hub or node.
|
java.util.List<java.lang.String> |
withoutServlets
Default servlets to exclude on the hub or node.
|
browserTimeout, debug, DEFAULT_STANDALONE_CONFIG_FILE, jettyMaxThreads, log, port, role, timeout
Modifier and Type | Method and Description |
---|---|
boolean |
isWithOutServlet(java.lang.Class<? extends javax.servlet.Servlet> servlet) |
void |
merge(GridConfiguration other)
replaces this instance of configuration value with the 'other' value if it's set.
|
java.lang.String |
toString(java.lang.String format) |
addJsonTypeAdapter, isMergeAble, loadFromJSON, loadFromJSON, loadJSONFromResourceOrFile, merge, toJson, toString, toString
@Expose public java.lang.Integer cleanUpCycle
@Expose public java.util.Map<java.lang.String,java.lang.String> custom
@Expose public java.lang.String host
null
. Automatically determined when null
.@Expose public java.lang.Integer maxSession
@Expose public java.util.List<java.lang.String> servlets
@Expose public java.util.List<java.lang.String> withoutServlets
public void merge(GridConfiguration other)
other
- public boolean isWithOutServlet(java.lang.Class<? extends javax.servlet.Servlet> servlet)
servlet
- the Servlet
to look forpublic java.lang.String toString(java.lang.String format)
toString
in class StandaloneConfiguration