Class RemoteProcessingProfileClassic
java.lang.Object
com.illumon.iris.db.tables.remotequery.RemoteProcessingProfileBase
com.illumon.iris.db.tables.remotequery.RemoteProcessingProfileClassic
- All Implemented Interfaces:
IRemoteProcessingProfile
public class RemoteProcessingProfileClassic extends RemoteProcessingProfileBase
Profile to use classic garbage collection.
-
Field Summary
Fields Modifier and Type Field Description static StringDISPLAY_NAMEFields inherited from interface com.illumon.iris.db.tables.remotequery.IRemoteProcessingProfile
ENVIRONMENT_VARIABLE_ELEMENT, ENVIRONMENT_VARIABLE_NAME_ATTRIBUTE, ENVIRONMENT_VARIABLE_VALUE_ATTRIBUTE, JVM_PARAMETER_ATTRIBUTE, JVM_PARAMETER_ELEMENT -
Constructor Summary
Constructors Constructor Description RemoteProcessingProfileClassic(com.fishlib.configuration.Configuration configuration)This constructor is used when reading the properties.RemoteProcessingProfileClassic(org.jdom2.Element profileElement)This constructor is used to generate an instance given a profile Element. -
Method Summary
Modifier and Type Method Description voidaddJvmArguments(int maxHeapSizeMB, List<String> basicJvmArguments, Map<String,List<String>> appendableJvmArguments)Add this profile's JVM parameters to the provided parameters.org.jdom2.ElementgenerateProfileXML()Generate an XML Element that represents this profile.StringgetDisplayName()Get the displayable name.Map<String,String>getEnvironmentVariables()Get the environment variables.String[]getJvmArgs(int maxHeapSizeMB)Get the JVM arguments to be passed to the JVM.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.tables.remotequery.IRemoteProcessingProfile
getIncludedProfileNames
-
Field Details
-
DISPLAY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
RemoteProcessingProfileClassic
public RemoteProcessingProfileClassic(com.fishlib.configuration.Configuration configuration)This constructor is used when reading the properties.- Parameters:
configuration- the Configuration instance
-
RemoteProcessingProfileClassic
public RemoteProcessingProfileClassic(org.jdom2.Element profileElement)This constructor is used to generate an instance given a profile Element.- Parameters:
profileElement- the previously-generated Element for this profile
-
-
Method Details
-
addJvmArguments
public void addJvmArguments(int maxHeapSizeMB, List<String> basicJvmArguments, Map<String,List<String>> appendableJvmArguments)Description copied from interface:IRemoteProcessingProfileAdd this profile's JVM parameters to the provided parameters. This includes arguments for included profiles.- Parameters:
maxHeapSizeMB- the worker's maximum heap size in MBbasicJvmArguments- a List to which the basic arguments for this profile and any included profiles will be addedappendableJvmArguments- a Map to which appendable arguments for this profile and any included profiles will be added
-
getJvmArgs
Description copied from interface:IRemoteProcessingProfileGet the JVM arguments to be passed to the JVM. These may be calculated based on the configured max heap size.- Parameters:
maxHeapSizeMB- the worker's maximum heap size in MB- Returns:
- the JVM parameters to be passed to the JVM
-
getEnvironmentVariables
Description copied from interface:IRemoteProcessingProfileGet the environment variables.- Returns:
- a Map of the environment variable names to values
-
getDisplayName
Description copied from interface:IRemoteProcessingProfileGet the displayable name.- Returns:
- The displayable name
-
generateProfileXML
public org.jdom2.Element generateProfileXML()Description copied from interface:IRemoteProcessingProfileGenerate an XML Element that represents this profile.- Returns:
- the generated XML Element
-