Class RemoteProcessingProfileNone
java.lang.Object
com.illumon.iris.db.tables.remotequery.RemoteProcessingProfileBase
com.illumon.iris.db.tables.remotequery.RemoteProcessingProfileNone
- All Implemented Interfaces:
IRemoteProcessingProfile
Remote processing JVM profile to provide no extra JVM parameters
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionRemoteProcessingProfileNone
(com.fishlib.configuration.Configuration configuration) This constructor is used when reading the properties.RemoteProcessingProfileNone
(org.jdom2.Element profileElement) This constructor is used to generate an instance given a profile Element. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJvmArguments
(int maxHeapSizeMB, List<String> basicJvmArguments, Map<String, List<String>> appendableJvmArguments) Add this profile's JVM parameters to the provided parameters.org.jdom2.Element
Generate an XML Element that represents this profile.Get the displayable name.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, wait
Methods inherited from interface com.illumon.iris.db.tables.remotequery.IRemoteProcessingProfile
getIncludedProfileNames
-
Field Details
-
DISPLAY_NAME
- See Also:
-
-
Constructor Details
-
RemoteProcessingProfileNone
public RemoteProcessingProfileNone(com.fishlib.configuration.Configuration configuration) This constructor is used when reading the properties.- Parameters:
configuration
- the Configuration instance
-
RemoteProcessingProfileNone
public RemoteProcessingProfileNone(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
-
getJvmArgs
Description copied from interface:IRemoteProcessingProfile
Get 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
-
addJvmArguments
public void addJvmArguments(int maxHeapSizeMB, List<String> basicJvmArguments, Map<String, List<String>> appendableJvmArguments) Description copied from interface:IRemoteProcessingProfile
Add 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
-
getDisplayName
Description copied from interface:IRemoteProcessingProfile
Get the displayable name.- Returns:
- The displayable name
-
getEnvironmentVariables
Description copied from interface:IRemoteProcessingProfile
Get the environment variables.- Returns:
- a Map of the environment variable names to values
-
generateProfileXML
public org.jdom2.Element generateProfileXML()Description copied from interface:IRemoteProcessingProfile
Generate an XML Element that represents this profile.- Returns:
- the generated XML Element
-