public class ProcessInternalConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProcessInternalConfig.Args |
static class |
ProcessInternalConfig.EnvAppend |
static class |
ProcessInternalConfig.EnvOverride |
static class |
ProcessInternalConfig.EnvPrepend |
static class |
ProcessInternalConfig.Params |
Modifier and Type | Field and Description |
---|---|
protected ProcessInternalConfig.Args |
args |
static int |
DEFAULT_HTTP_ACCEPT_QUEUE_SIZE |
static int |
DEFAULT_HTTP_ACCEPTOR_THREADS |
static int |
DEFAULT_HTTP_MAX_FORM_P_O_S_T_QUERY_SIZE |
static int |
DEFAULT_HTTP_MAX_G_E_T_QUERY_SIZE |
static int |
DEFAULT_HTTP_MAX_IDLE_TIME_M_S |
static int |
DEFAULT_HTTP_MAX_STOP_TIME |
static int |
DEFAULT_HTTP_MAX_THREADS |
static int |
DEFAULT_HTTP_MIN_THREADS |
protected ProcessInternalConfig.EnvAppend |
envAppend |
protected ProcessInternalConfig.EnvOverride |
envOverride |
protected ProcessInternalConfig.EnvPrepend |
envPrepend |
java.lang.String |
exaBinary |
java.lang.String |
hostname |
int |
httpAcceptorThreads |
int |
httpAcceptQueueSize |
int |
httpMaxFormPOSTQuerySize |
int |
httpMaxGETQuerySize |
int |
httpMaxIdleTimeMS |
int |
httpMaxStopTime |
int |
httpMaxThreads |
int |
httpMinThreads |
java.lang.String |
installName |
java.lang.String |
name |
protected ProcessInternalConfig.Params |
params |
java.lang.String |
runtime |
Constructor and Description |
---|
ProcessInternalConfig() |
ProcessInternalConfig(ProcessInternalConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ProcessInternalConfig.
|
static ProcessInternalConfig |
fromString(java.lang.String s)
String representation of this ProcessInternalConfig.
|
ProcessInternalConfig.Args |
getArgs() |
ProcessInternalConfig.EnvAppend |
getEnvAppend() |
ProcessInternalConfig.EnvOverride |
getEnvOverride() |
ProcessInternalConfig.EnvPrepend |
getEnvPrepend() |
java.lang.String |
getExaBinary()
EXA binary to use in case of an EXA process.
|
java.lang.String |
getHostname()
Name of the host on which this applies.
|
int |
getHttpAcceptorThreads()
Number of threads waiting for new HTTP connections
|
int |
getHttpAcceptQueueSize()
Maximum size for the TCP acception queue
|
int |
getHttpMaxFormPOSTQuerySize()
Default max size in bytes of HTTP POST queries on this process.
Note that this might be overriden by specific settings (like the SearchAPI max size) |
int |
getHttpMaxGETQuerySize()
Default max size in bytes of HTTP GET queries on this process.
Note that this might be overriden by specific settings (like the SearchAPI max size) |
int |
getHttpMaxIdleTimeMS()
Maximum timeout for an HTTP connection, either while waiting for new data, or while processing
a query |
int |
getHttpMaxStopTime()
Maximum total time(s) allowed for current queries to be treated before really stopping the server
|
int |
getHttpMaxThreads()
Maximum number of alive threads for servicing HTTP queries
|
int |
getHttpMinThreads()
Minimum number of alive threads for servicing HTTP queries
|
java.lang.String |
getInstallName()
Name of the install on which this applies.
|
java.lang.String |
getName()
Name of the process on which this applies.
|
ProcessInternalConfig.Params |
getParams() |
java.lang.String |
getRuntime()
Runtime on which this applies.
|
ProcessInternalConfig |
makeCopy()
Creates and returns a deep copy of this ProcessInternalConfig.
|
static ProcessInternalConfig |
readFrom(java.io.InputStream is)
Read this ProcessInternalConfig from an XML fragment.
|
void |
setArgs(ProcessInternalConfig.Args __value) |
void |
setEnvAppend(ProcessInternalConfig.EnvAppend __value) |
void |
setEnvOverride(ProcessInternalConfig.EnvOverride __value) |
void |
setEnvPrepend(ProcessInternalConfig.EnvPrepend __value) |
void |
setExaBinary(java.lang.String exaBinary)
EXA binary to use in case of an EXA process.
|
void |
setHostname(java.lang.String hostname)
Name of the host on which this applies.
|
void |
setHttpAcceptorThreads(int httpAcceptorThreads)
Number of threads waiting for new HTTP connections
|
void |
setHttpAcceptQueueSize(int httpAcceptQueueSize)
Maximum size for the TCP acception queue
|
void |
setHttpMaxFormPOSTQuerySize(int httpMaxFormPOSTQuerySize)
Default max size in bytes of HTTP POST queries on this process.
Note that this might be overriden by specific settings (like the SearchAPI max size) |
void |
setHttpMaxGETQuerySize(int httpMaxGETQuerySize)
Default max size in bytes of HTTP GET queries on this process.
Note that this might be overriden by specific settings (like the SearchAPI max size) |
void |
setHttpMaxIdleTimeMS(int httpMaxIdleTimeMS)
Maximum timeout for an HTTP connection, either while waiting for new data, or while processing
a query |
void |
setHttpMaxStopTime(int httpMaxStopTime)
Maximum total time(s) allowed for current queries to be treated before really stopping the server
|
void |
setHttpMaxThreads(int httpMaxThreads)
Maximum number of alive threads for servicing HTTP queries
|
void |
setHttpMinThreads(int httpMinThreads)
Minimum number of alive threads for servicing HTTP queries
|
void |
setInstallName(java.lang.String installName)
Name of the install on which this applies.
|
void |
setName(java.lang.String name)
Name of the process on which this applies.
|
void |
setParams(ProcessInternalConfig.Params __value) |
void |
setRuntime(java.lang.String runtime)
Runtime on which this applies.
|
java.lang.String |
toString()
String representation of this ProcessInternalConfig.
|
ProcessInternalConfig |
withArgs(java.util.Collection<StringValue> __values) |
ProcessInternalConfig |
withArgs(ProcessInternalConfig.Args __value) |
ProcessInternalConfig |
withArgs(StringValue... __values) |
ProcessInternalConfig |
withEnvAppend(java.util.Collection<KeyValue> __values) |
ProcessInternalConfig |
withEnvAppend(KeyValue... __values) |
ProcessInternalConfig |
withEnvAppend(ProcessInternalConfig.EnvAppend __value) |
ProcessInternalConfig |
withEnvOverride(java.util.Collection<KeyValue> __values) |
ProcessInternalConfig |
withEnvOverride(KeyValue... __values) |
ProcessInternalConfig |
withEnvOverride(ProcessInternalConfig.EnvOverride __value) |
ProcessInternalConfig |
withEnvPrepend(java.util.Collection<KeyValue> __values) |
ProcessInternalConfig |
withEnvPrepend(KeyValue... __values) |
ProcessInternalConfig |
withEnvPrepend(ProcessInternalConfig.EnvPrepend __value) |
ProcessInternalConfig |
withExaBinary(java.lang.String exaBinary) |
ProcessInternalConfig |
withHostname(java.lang.String hostname) |
ProcessInternalConfig |
withHttpAcceptorThreads(int httpAcceptorThreads) |
ProcessInternalConfig |
withHttpAcceptorThreads(java.lang.Integer httpAcceptorThreads) |
ProcessInternalConfig |
withHttpAcceptQueueSize(int httpAcceptQueueSize) |
ProcessInternalConfig |
withHttpAcceptQueueSize(java.lang.Integer httpAcceptQueueSize) |
ProcessInternalConfig |
withHttpMaxFormPOSTQuerySize(int httpMaxFormPOSTQuerySize) |
ProcessInternalConfig |
withHttpMaxFormPOSTQuerySize(java.lang.Integer httpMaxFormPOSTQuerySize) |
ProcessInternalConfig |
withHttpMaxGETQuerySize(int httpMaxGETQuerySize) |
ProcessInternalConfig |
withHttpMaxGETQuerySize(java.lang.Integer httpMaxGETQuerySize) |
ProcessInternalConfig |
withHttpMaxIdleTimeMS(int httpMaxIdleTimeMS) |
ProcessInternalConfig |
withHttpMaxIdleTimeMS(java.lang.Integer httpMaxIdleTimeMS) |
ProcessInternalConfig |
withHttpMaxStopTime(int httpMaxStopTime) |
ProcessInternalConfig |
withHttpMaxStopTime(java.lang.Integer httpMaxStopTime) |
ProcessInternalConfig |
withHttpMaxThreads(int httpMaxThreads) |
ProcessInternalConfig |
withHttpMaxThreads(java.lang.Integer httpMaxThreads) |
ProcessInternalConfig |
withHttpMinThreads(int httpMinThreads) |
ProcessInternalConfig |
withHttpMinThreads(java.lang.Integer httpMinThreads) |
ProcessInternalConfig |
withInstallName(java.lang.String installName) |
ProcessInternalConfig |
withName(java.lang.String name) |
ProcessInternalConfig |
withParams(java.util.Collection<KeyValue> __values) |
ProcessInternalConfig |
withParams(KeyValue... __values) |
ProcessInternalConfig |
withParams(ProcessInternalConfig.Params __value) |
ProcessInternalConfig |
withRuntime(java.lang.String runtime) |
void |
writeTo(java.io.OutputStream os)
Write this ProcessInternalConfig as an XML fragment
|
public java.lang.String name
public java.lang.String hostname
public java.lang.String installName
public java.lang.String runtime
public java.lang.String exaBinary
protected ProcessInternalConfig.Params params
protected ProcessInternalConfig.Args args
protected ProcessInternalConfig.EnvOverride envOverride
protected ProcessInternalConfig.EnvAppend envAppend
protected ProcessInternalConfig.EnvPrepend envPrepend
public int httpMinThreads
public static final int DEFAULT_HTTP_MIN_THREADS
public int httpMaxThreads
public static final int DEFAULT_HTTP_MAX_THREADS
public int httpMaxStopTime
public static final int DEFAULT_HTTP_MAX_STOP_TIME
public int httpMaxGETQuerySize
public static final int DEFAULT_HTTP_MAX_G_E_T_QUERY_SIZE
public int httpMaxFormPOSTQuerySize
public static final int DEFAULT_HTTP_MAX_FORM_P_O_S_T_QUERY_SIZE
public int httpMaxIdleTimeMS
public static final int DEFAULT_HTTP_MAX_IDLE_TIME_M_S
public int httpAcceptorThreads
public static final int DEFAULT_HTTP_ACCEPTOR_THREADS
public int httpAcceptQueueSize
public static final int DEFAULT_HTTP_ACCEPT_QUEUE_SIZE
public ProcessInternalConfig()
public ProcessInternalConfig(ProcessInternalConfig o)
public void setName(java.lang.String name)
public java.lang.String getName()
public ProcessInternalConfig withName(java.lang.String name)
public void setHostname(java.lang.String hostname)
public java.lang.String getHostname()
public ProcessInternalConfig withHostname(java.lang.String hostname)
public void setInstallName(java.lang.String installName)
public java.lang.String getInstallName()
public ProcessInternalConfig withInstallName(java.lang.String installName)
public void setRuntime(java.lang.String runtime)
public java.lang.String getRuntime()
public ProcessInternalConfig withRuntime(java.lang.String runtime)
public void setExaBinary(java.lang.String exaBinary)
public java.lang.String getExaBinary()
public ProcessInternalConfig withExaBinary(java.lang.String exaBinary)
public ProcessInternalConfig.Params getParams()
public void setParams(ProcessInternalConfig.Params __value)
public ProcessInternalConfig withParams(KeyValue... __values)
public ProcessInternalConfig withParams(java.util.Collection<KeyValue> __values)
public ProcessInternalConfig withParams(ProcessInternalConfig.Params __value)
public ProcessInternalConfig.Args getArgs()
public void setArgs(ProcessInternalConfig.Args __value)
public ProcessInternalConfig withArgs(StringValue... __values)
public ProcessInternalConfig withArgs(java.util.Collection<StringValue> __values)
public ProcessInternalConfig withArgs(ProcessInternalConfig.Args __value)
public ProcessInternalConfig.EnvOverride getEnvOverride()
public void setEnvOverride(ProcessInternalConfig.EnvOverride __value)
public ProcessInternalConfig withEnvOverride(KeyValue... __values)
public ProcessInternalConfig withEnvOverride(java.util.Collection<KeyValue> __values)
public ProcessInternalConfig withEnvOverride(ProcessInternalConfig.EnvOverride __value)
public ProcessInternalConfig.EnvAppend getEnvAppend()
public void setEnvAppend(ProcessInternalConfig.EnvAppend __value)
public ProcessInternalConfig withEnvAppend(KeyValue... __values)
public ProcessInternalConfig withEnvAppend(java.util.Collection<KeyValue> __values)
public ProcessInternalConfig withEnvAppend(ProcessInternalConfig.EnvAppend __value)
public ProcessInternalConfig.EnvPrepend getEnvPrepend()
public void setEnvPrepend(ProcessInternalConfig.EnvPrepend __value)
public ProcessInternalConfig withEnvPrepend(KeyValue... __values)
public ProcessInternalConfig withEnvPrepend(java.util.Collection<KeyValue> __values)
public ProcessInternalConfig withEnvPrepend(ProcessInternalConfig.EnvPrepend __value)
public void setHttpMinThreads(int httpMinThreads)
public int getHttpMinThreads()
public ProcessInternalConfig withHttpMinThreads(int httpMinThreads)
public ProcessInternalConfig withHttpMinThreads(java.lang.Integer httpMinThreads)
public void setHttpMaxThreads(int httpMaxThreads)
public int getHttpMaxThreads()
public ProcessInternalConfig withHttpMaxThreads(int httpMaxThreads)
public ProcessInternalConfig withHttpMaxThreads(java.lang.Integer httpMaxThreads)
public void setHttpMaxStopTime(int httpMaxStopTime)
public int getHttpMaxStopTime()
public ProcessInternalConfig withHttpMaxStopTime(int httpMaxStopTime)
public ProcessInternalConfig withHttpMaxStopTime(java.lang.Integer httpMaxStopTime)
public void setHttpMaxGETQuerySize(int httpMaxGETQuerySize)
public int getHttpMaxGETQuerySize()
public ProcessInternalConfig withHttpMaxGETQuerySize(int httpMaxGETQuerySize)
public ProcessInternalConfig withHttpMaxGETQuerySize(java.lang.Integer httpMaxGETQuerySize)
public void setHttpMaxFormPOSTQuerySize(int httpMaxFormPOSTQuerySize)
public int getHttpMaxFormPOSTQuerySize()
public ProcessInternalConfig withHttpMaxFormPOSTQuerySize(int httpMaxFormPOSTQuerySize)
public ProcessInternalConfig withHttpMaxFormPOSTQuerySize(java.lang.Integer httpMaxFormPOSTQuerySize)
public void setHttpMaxIdleTimeMS(int httpMaxIdleTimeMS)
public int getHttpMaxIdleTimeMS()
public ProcessInternalConfig withHttpMaxIdleTimeMS(int httpMaxIdleTimeMS)
public ProcessInternalConfig withHttpMaxIdleTimeMS(java.lang.Integer httpMaxIdleTimeMS)
public void setHttpAcceptorThreads(int httpAcceptorThreads)
public int getHttpAcceptorThreads()
public ProcessInternalConfig withHttpAcceptorThreads(int httpAcceptorThreads)
public ProcessInternalConfig withHttpAcceptorThreads(java.lang.Integer httpAcceptorThreads)
public void setHttpAcceptQueueSize(int httpAcceptQueueSize)
public int getHttpAcceptQueueSize()
public ProcessInternalConfig withHttpAcceptQueueSize(int httpAcceptQueueSize)
public ProcessInternalConfig withHttpAcceptQueueSize(java.lang.Integer httpAcceptQueueSize)
public ProcessInternalConfig makeCopy()
public static ProcessInternalConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static ProcessInternalConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.