Class RemoteProcessingProfileG1

java.lang.Object
com.illumon.iris.db.tables.remotequery.RemoteProcessingProfileBase
com.illumon.iris.db.tables.remotequery.RemoteProcessingProfileG1
All Implemented Interfaces:
IRemoteProcessingProfile

public class RemoteProcessingProfileG1 extends RemoteProcessingProfileBase
JVM profile to use G1 garbage collection.
  • Field Details

  • Constructor Details

    • RemoteProcessingProfileG1

      public RemoteProcessingProfileG1(com.fishlib.configuration.Configuration configuration)
      This constructor is used when reading the properties.
      Parameters:
      configuration - the Configuration instance
    • RemoteProcessingProfileG1

      public RemoteProcessingProfileG1(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

      public String[] getJvmArgs(int maxHeapSizeMB)
      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 MB
      basicJvmArguments - a List to which the basic arguments for this profile and any included profiles will be added
      appendableJvmArguments - a Map to which appendable arguments for this profile and any included profiles will be added
    • getEnvironmentVariables

      @NotNull public Map<String,String> getEnvironmentVariables()
      Description copied from interface: IRemoteProcessingProfile
      Get the environment variables.
      Returns:
      a Map of the environment variable names to values
    • getDisplayName

      public String getDisplayName()
      Description copied from interface: IRemoteProcessingProfile
      Get the displayable name.
      Returns:
      The displayable name
    • generateProfileXML

      public org.jdom2.Element generateProfileXML()
      Description copied from interface: IRemoteProcessingProfile
      Generate an XML Element that represents this profile.
      Returns:
      the generated XML Element