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.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, host, jettyMaxThreads, log, port, role, timeout| Constructor and Description |
|---|
GridConfiguration(GridJsonConfiguration jsonConfig) |
| 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.
|
protected void |
serializeFields(java.util.Map<java.lang.String,java.lang.Object> appendTo) |
java.lang.String |
toString(java.lang.String format) |
getCoercers, isMergeAble, loadFromJson, loadFromJson, loadJsonFromResourceOrFile, merge, toJson, toString, toStringpublic java.lang.Integer cleanUpCycle
public java.util.Map<java.lang.String,java.lang.String> custom
public java.lang.Integer maxSession
public java.util.List<java.lang.String> servlets
public java.util.List<java.lang.String> withoutServlets
public GridConfiguration(GridJsonConfiguration jsonConfig)
public void merge(GridConfiguration other)
other - public boolean isWithOutServlet(java.lang.Class<? extends javax.servlet.Servlet> servlet)
servlet - the Servlet to look forprotected void serializeFields(java.util.Map<java.lang.String,java.lang.Object> appendTo)
serializeFields in class StandaloneConfigurationpublic java.lang.String toString(java.lang.String format)
toString in class StandaloneConfiguration