public class ConvertInternalPOSIXSettings
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CORE_FILE_SIZE_M_B |
static int |
DEFAULT_MAX_CREATED_FILE_SIZE_K_B |
static int |
DEFAULT_MAX_NUMBER_OF_OPENED_FILES |
static int |
DEFAULT_MAX_PROCESS_MEMORY_SIZE_M_B |
static int |
DEFAULT_MAX_RESIDENT_MEMORY_SIZE_M_B |
int |
maxCoreFileSizeMB |
int |
maxCreatedFileSizeKB |
int |
maxNumberOfOpenedFiles |
int |
maxProcessMemorySizeMB |
int |
maxResidentMemorySizeMB |
Constructor and Description |
---|
ConvertInternalPOSIXSettings() |
ConvertInternalPOSIXSettings(ConvertInternalPOSIXSettings o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ConvertInternalPOSIXSettings.
|
static ConvertInternalPOSIXSettings |
fromString(java.lang.String s)
String representation of this ConvertInternalPOSIXSettings.
|
int |
getMaxCoreFileSizeMB()
Maximum allowed size for core files (posix: maxcore).
The default is -1 which means no limit. |
int |
getMaxCreatedFileSizeKB()
Maximum allowed size for created files such as temporary files etc (posix: maxfsize).
The default is -1 which means no limit. |
int |
getMaxNumberOfOpenedFiles()
Maximum allowed number of opened files (posix: maxnofile).
The default is -1 which means no limit. |
int |
getMaxProcessMemorySizeMB()
Maximum allowed memory for a convert process (main or child) (posix: maxas).
The default is -1 which means no limit. |
int |
getMaxResidentMemorySizeMB()
Maximum allowed size in bytes for resident memory (posix: maxrss).
The default is -1 which means no limit. |
ConvertInternalPOSIXSettings |
makeCopy()
Creates and returns a deep copy of this ConvertInternalPOSIXSettings.
|
static ConvertInternalPOSIXSettings |
readFrom(java.io.InputStream is)
Read this ConvertInternalPOSIXSettings from an XML fragment.
|
void |
setMaxCoreFileSizeMB(int maxCoreFileSizeMB)
Maximum allowed size for core files (posix: maxcore).
The default is -1 which means no limit. |
void |
setMaxCreatedFileSizeKB(int maxCreatedFileSizeKB)
Maximum allowed size for created files such as temporary files etc (posix: maxfsize).
The default is -1 which means no limit. |
void |
setMaxNumberOfOpenedFiles(int maxNumberOfOpenedFiles)
Maximum allowed number of opened files (posix: maxnofile).
The default is -1 which means no limit. |
void |
setMaxProcessMemorySizeMB(int maxProcessMemorySizeMB)
Maximum allowed memory for a convert process (main or child) (posix: maxas).
The default is -1 which means no limit. |
void |
setMaxResidentMemorySizeMB(int maxResidentMemorySizeMB)
Maximum allowed size in bytes for resident memory (posix: maxrss).
The default is -1 which means no limit. |
java.lang.String |
toString()
String representation of this ConvertInternalPOSIXSettings.
|
ConvertInternalPOSIXSettings |
withMaxCoreFileSizeMB(int maxCoreFileSizeMB) |
ConvertInternalPOSIXSettings |
withMaxCoreFileSizeMB(java.lang.Integer maxCoreFileSizeMB) |
ConvertInternalPOSIXSettings |
withMaxCreatedFileSizeKB(int maxCreatedFileSizeKB) |
ConvertInternalPOSIXSettings |
withMaxCreatedFileSizeKB(java.lang.Integer maxCreatedFileSizeKB) |
ConvertInternalPOSIXSettings |
withMaxNumberOfOpenedFiles(int maxNumberOfOpenedFiles) |
ConvertInternalPOSIXSettings |
withMaxNumberOfOpenedFiles(java.lang.Integer maxNumberOfOpenedFiles) |
ConvertInternalPOSIXSettings |
withMaxProcessMemorySizeMB(int maxProcessMemorySizeMB) |
ConvertInternalPOSIXSettings |
withMaxProcessMemorySizeMB(java.lang.Integer maxProcessMemorySizeMB) |
ConvertInternalPOSIXSettings |
withMaxResidentMemorySizeMB(int maxResidentMemorySizeMB) |
ConvertInternalPOSIXSettings |
withMaxResidentMemorySizeMB(java.lang.Integer maxResidentMemorySizeMB) |
void |
writeTo(java.io.OutputStream os)
Write this ConvertInternalPOSIXSettings as an XML fragment
|
public int maxProcessMemorySizeMB
public static final int DEFAULT_MAX_PROCESS_MEMORY_SIZE_M_B
public int maxCoreFileSizeMB
public static final int DEFAULT_MAX_CORE_FILE_SIZE_M_B
public int maxCreatedFileSizeKB
public static final int DEFAULT_MAX_CREATED_FILE_SIZE_K_B
public int maxNumberOfOpenedFiles
public static final int DEFAULT_MAX_NUMBER_OF_OPENED_FILES
public int maxResidentMemorySizeMB
public static final int DEFAULT_MAX_RESIDENT_MEMORY_SIZE_M_B
public ConvertInternalPOSIXSettings()
public ConvertInternalPOSIXSettings(ConvertInternalPOSIXSettings o)
public void setMaxProcessMemorySizeMB(int maxProcessMemorySizeMB)
public int getMaxProcessMemorySizeMB()
public ConvertInternalPOSIXSettings withMaxProcessMemorySizeMB(int maxProcessMemorySizeMB)
public ConvertInternalPOSIXSettings withMaxProcessMemorySizeMB(java.lang.Integer maxProcessMemorySizeMB)
public void setMaxCoreFileSizeMB(int maxCoreFileSizeMB)
public int getMaxCoreFileSizeMB()
public ConvertInternalPOSIXSettings withMaxCoreFileSizeMB(int maxCoreFileSizeMB)
public ConvertInternalPOSIXSettings withMaxCoreFileSizeMB(java.lang.Integer maxCoreFileSizeMB)
public void setMaxCreatedFileSizeKB(int maxCreatedFileSizeKB)
public int getMaxCreatedFileSizeKB()
public ConvertInternalPOSIXSettings withMaxCreatedFileSizeKB(int maxCreatedFileSizeKB)
public ConvertInternalPOSIXSettings withMaxCreatedFileSizeKB(java.lang.Integer maxCreatedFileSizeKB)
public void setMaxNumberOfOpenedFiles(int maxNumberOfOpenedFiles)
public int getMaxNumberOfOpenedFiles()
public ConvertInternalPOSIXSettings withMaxNumberOfOpenedFiles(int maxNumberOfOpenedFiles)
public ConvertInternalPOSIXSettings withMaxNumberOfOpenedFiles(java.lang.Integer maxNumberOfOpenedFiles)
public void setMaxResidentMemorySizeMB(int maxResidentMemorySizeMB)
public int getMaxResidentMemorySizeMB()
public ConvertInternalPOSIXSettings withMaxResidentMemorySizeMB(int maxResidentMemorySizeMB)
public ConvertInternalPOSIXSettings withMaxResidentMemorySizeMB(java.lang.Integer maxResidentMemorySizeMB)
public ConvertInternalPOSIXSettings makeCopy()
public static ConvertInternalPOSIXSettings 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 ConvertInternalPOSIXSettings 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.