public class ConvertInternalChildrenSettings
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
ChildConvertInitTimeoutS |
int |
childSpawnTimeoutS |
static int |
DEFAULT_CHILD_CONVERT_INIT_TIMEOUT_S |
static int |
DEFAULT_CHILD_SPAWN_TIMEOUT_S |
static java.lang.String |
DEFAULT_EXEC32_MODE |
static int |
DEFAULT_MAX_CHILDREN |
static int |
DEFAULT_MAX_IDLE_CHILDREN |
static int |
DEFAULT_MAX_IDLE_CHILDREN_PER_GROUP |
java.lang.String |
exec32Mode |
int |
maxChildren |
int |
maxIdleChildren |
int |
maxIdleChildrenPerGroup |
Constructor and Description |
---|
ConvertInternalChildrenSettings() |
ConvertInternalChildrenSettings(ConvertInternalChildrenSettings o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ConvertInternalChildrenSettings.
|
static ConvertInternalChildrenSettings |
fromString(java.lang.String s)
String representation of this ConvertInternalChildrenSettings.
|
int |
getChildConvertInitTimeoutS()
Minion convert libraries and plugins initialization timeout in seconds.
The default is -1 which means use program defaults (30 seconds). |
int |
getChildSpawnTimeoutS()
Children spawn timeout in seconds.
The default is -1 which means use program defaults (20 seconds). |
java.lang.String |
getExec32Mode()
Select 32-bit support
disabled: Disables the feature enabled: Enables the feature optional: Enables the feature if available enum("disabled", "enabled", "optional") |
int |
getMaxChildren()
Maximum authorized number of children.
The default is -1 which means use program defaults (128). |
int |
getMaxIdleChildren()
Children that were created can be reused for future conversion.
This parameter specifies the max number of idle children for future use. After long inactivity, all children will die and be re-forked if necessary. The default is -1 which means use program defaults (32). |
int |
getMaxIdleChildrenPerGroup()
Children that were created for a specific group can be reused for future conversion.
This parameter specifies the max number of idle children for each group for future use. After long inactivity, all children will die and be re-forked if necessary. The default is -1 which means use program defaults (automatic). |
ConvertInternalChildrenSettings |
makeCopy()
Creates and returns a deep copy of this ConvertInternalChildrenSettings.
|
static ConvertInternalChildrenSettings |
readFrom(java.io.InputStream is)
Read this ConvertInternalChildrenSettings from an XML fragment.
|
void |
setChildConvertInitTimeoutS(int ChildConvertInitTimeoutS)
Minion convert libraries and plugins initialization timeout in seconds.
The default is -1 which means use program defaults (30 seconds). |
void |
setChildSpawnTimeoutS(int childSpawnTimeoutS)
Children spawn timeout in seconds.
The default is -1 which means use program defaults (20 seconds). |
void |
setExec32Mode(java.lang.String exec32Mode)
Select 32-bit support
disabled: Disables the feature enabled: Enables the feature optional: Enables the feature if available enum("disabled", "enabled", "optional") |
void |
setMaxChildren(int maxChildren)
Maximum authorized number of children.
The default is -1 which means use program defaults (128). |
void |
setMaxIdleChildren(int maxIdleChildren)
Children that were created can be reused for future conversion.
This parameter specifies the max number of idle children for future use. After long inactivity, all children will die and be re-forked if necessary. The default is -1 which means use program defaults (32). |
void |
setMaxIdleChildrenPerGroup(int maxIdleChildrenPerGroup)
Children that were created for a specific group can be reused for future conversion.
This parameter specifies the max number of idle children for each group for future use. After long inactivity, all children will die and be re-forked if necessary. The default is -1 which means use program defaults (automatic). |
java.lang.String |
toString()
String representation of this ConvertInternalChildrenSettings.
|
ConvertInternalChildrenSettings |
withChildConvertInitTimeoutS(int ChildConvertInitTimeoutS) |
ConvertInternalChildrenSettings |
withChildConvertInitTimeoutS(java.lang.Integer ChildConvertInitTimeoutS) |
ConvertInternalChildrenSettings |
withChildSpawnTimeoutS(int childSpawnTimeoutS) |
ConvertInternalChildrenSettings |
withChildSpawnTimeoutS(java.lang.Integer childSpawnTimeoutS) |
ConvertInternalChildrenSettings |
withExec32Mode(java.lang.String exec32Mode) |
ConvertInternalChildrenSettings |
withMaxChildren(int maxChildren) |
ConvertInternalChildrenSettings |
withMaxChildren(java.lang.Integer maxChildren) |
ConvertInternalChildrenSettings |
withMaxIdleChildren(int maxIdleChildren) |
ConvertInternalChildrenSettings |
withMaxIdleChildren(java.lang.Integer maxIdleChildren) |
ConvertInternalChildrenSettings |
withMaxIdleChildrenPerGroup(int maxIdleChildrenPerGroup) |
ConvertInternalChildrenSettings |
withMaxIdleChildrenPerGroup(java.lang.Integer maxIdleChildrenPerGroup) |
void |
writeTo(java.io.OutputStream os)
Write this ConvertInternalChildrenSettings as an XML fragment
|
public int maxChildren
public static final int DEFAULT_MAX_CHILDREN
public int maxIdleChildren
public static final int DEFAULT_MAX_IDLE_CHILDREN
public int maxIdleChildrenPerGroup
public static final int DEFAULT_MAX_IDLE_CHILDREN_PER_GROUP
public int childSpawnTimeoutS
public static final int DEFAULT_CHILD_SPAWN_TIMEOUT_S
public int ChildConvertInitTimeoutS
public static final int DEFAULT_CHILD_CONVERT_INIT_TIMEOUT_S
public java.lang.String exec32Mode
public static final java.lang.String DEFAULT_EXEC32_MODE
public ConvertInternalChildrenSettings()
public ConvertInternalChildrenSettings(ConvertInternalChildrenSettings o)
public void setMaxChildren(int maxChildren)
public int getMaxChildren()
public ConvertInternalChildrenSettings withMaxChildren(int maxChildren)
public ConvertInternalChildrenSettings withMaxChildren(java.lang.Integer maxChildren)
public void setMaxIdleChildren(int maxIdleChildren)
public int getMaxIdleChildren()
public ConvertInternalChildrenSettings withMaxIdleChildren(int maxIdleChildren)
public ConvertInternalChildrenSettings withMaxIdleChildren(java.lang.Integer maxIdleChildren)
public void setMaxIdleChildrenPerGroup(int maxIdleChildrenPerGroup)
public int getMaxIdleChildrenPerGroup()
public ConvertInternalChildrenSettings withMaxIdleChildrenPerGroup(int maxIdleChildrenPerGroup)
public ConvertInternalChildrenSettings withMaxIdleChildrenPerGroup(java.lang.Integer maxIdleChildrenPerGroup)
public void setChildSpawnTimeoutS(int childSpawnTimeoutS)
public int getChildSpawnTimeoutS()
public ConvertInternalChildrenSettings withChildSpawnTimeoutS(int childSpawnTimeoutS)
public ConvertInternalChildrenSettings withChildSpawnTimeoutS(java.lang.Integer childSpawnTimeoutS)
public void setChildConvertInitTimeoutS(int ChildConvertInitTimeoutS)
public int getChildConvertInitTimeoutS()
public ConvertInternalChildrenSettings withChildConvertInitTimeoutS(int ChildConvertInitTimeoutS)
public ConvertInternalChildrenSettings withChildConvertInitTimeoutS(java.lang.Integer ChildConvertInitTimeoutS)
public void setExec32Mode(java.lang.String exec32Mode)
enum("disabled", "enabled", "optional")
public java.lang.String getExec32Mode()
enum("disabled", "enabled", "optional")
public ConvertInternalChildrenSettings withExec32Mode(java.lang.String exec32Mode)
public ConvertInternalChildrenSettings makeCopy()
public static ConvertInternalChildrenSettings 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 ConvertInternalChildrenSettings 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.