Class EnterpriseSchedulerFlagsConfig

java.lang.Object
oracle.pgx.config.AbstractConfig
oracle.pgx.config.EnterpriseSchedulerFlagsConfig

@Generated("config_generator.py") public class EnterpriseSchedulerFlagsConfig extends AbstractConfig
Enterprise Scheduler flags
  • Method Details

    • parse

      public static EnterpriseSchedulerFlagsConfig parse(InputStream is, boolean strict, String parentPath) throws IOException
      Parses an input stream.
      Parameters:
      is - the input stream
      strict - if true, parses in strict mode
      parentPath - if not null, resolves relative paths against this parentPath
      Returns:
      the parsed graph config
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • parse

      public static EnterpriseSchedulerFlagsConfig parse(Map<String,Object> raw, boolean strict, String parentPath)
      Parses a raw key/value mapping.
      Parameters:
      raw - the raw key/value mapping to parse
      strict - if true, parses in strict mode
      parentPath - if not null, resolves relative paths against this parentPath
      Returns:
      the parsed graph config
    • parse

      public static EnterpriseSchedulerFlagsConfig parse(Properties props, boolean strict)
      Parses a properties file.
      Parameters:
      props - the properties to parse
      strict - if true, parses in strict mode
      Returns:
      the parsed graph config
    • getConfigFields

      public static EnterpriseSchedulerFlagsConfig.Field[] getConfigFields()
    • getValues

      Gets the parsed values.
      Specified by:
      getValues in class AbstractConfig
      Returns:
      the parsed values
    • isEmpty

      public boolean isEmpty()
      Checks if it's empty.
      Returns:
      true, if the Map 'values' is empty.
    • hasDefaultValue

      public boolean hasDefaultValue(EnterpriseSchedulerFlagsConfig.Field field)
      Checks for default value.
      Parameters:
      field - the field
      Returns:
      true, if value for given field is the default value
    • getValuesWithoutDefaults

      public Map<EnterpriseSchedulerFlagsConfig.Field,Object> getValuesWithoutDefaults()
      Gets the values without defaults.
      Returns:
      the values without defaults
    • getLeftoverValues

      public Map<String,Object> getLeftoverValues()
      Gets the values that do not belong to any field.
      Returns:
      the values that do not belong to any field
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(boolean hideSensitiveData)
    • isShowLogging

      public Boolean isShowLogging()
      If true enable summary logging -- this is available even in non-debug builds and includes information such as the machine h/w information obtained at start-up, and per-job / per-loop* information about the workload.
    • isShowWarnings

      public Boolean isShowWarnings()
      If true enable warnings. These are non-fatal errors -- e.g., if a NUMA-aware allocation cannot be placed on the intended socket.
    • isShowEnvironment

      public Boolean isShowEnvironment()
      If true show version numbers and main environment settings at startup.
    • isShowProfiling

      public Boolean isShowProfiling()
      If true show profiling information.
    • isShowSchedulerState

      public Boolean isShowSchedulerState()
      If true dump scheduler state on each update.
    • isShowAllocations

      public Boolean isShowAllocations()
      If true show memory allocation information.
    • isLogToStderr

      public Boolean isLogToStderr()
      If true log to stderr. If false log using PGX's default logging facility.
    • isShowDebug

      public Boolean isShowDebug()
      [Internal use only] If true enable debug output. This is only available in debug builds.
    • useOpenmpThreadPool

      public Boolean useOpenmpThreadPool()
      [Internal use only] If true, use OpenMP based thread pool. If false use pthreads based thread pool.
    • getOverrideCoresPerSocket

      public Integer getOverrideCoresPerSocket()
      [Internal use only] Over-ride the core-to-socket allocation, treating a fixed number of cores as a socket for the purposes of the per-socket combining structures. This is for experimental use on processors like the M7 with core clusters. If 0 use h/w information
    • isOverrideMemoryPlacement

      public Boolean isOverrideMemoryPlacement()
      [Internal use only] Over-ride memory placement tags and use the OS defaults instead. If true use OS defaults, if false use workload tags
    • getMarkLoopForProfiling

      public String getMarkLoopForProfiling()
      [Internal use only] ID for any additional loop to profile. If set, the format is name:idx, e.g. "FooBar:1" for the first execution of the FooBar loop, or "XXYZ" for all executions of the XXYZ loop.
    • getSelectPerformanceCounters

      public String getSelectPerformanceCounters()
      [Internal use only] Perf counter configuration string.
    • getSelectRegionPerformanceCounters

      public String getSelectRegionPerformanceCounters()
      [Internal use only] Region perf counter configuration string.
    • getSelectPerformanceCountersLibrary

      public Integer getSelectPerformanceCountersLibrary()
      [Internal use only] Perf counter library.
    • getSelectPerformanceCountersPcmShowCodes

      public Integer getSelectPerformanceCountersPcmShowCodes()
      [Internal use only] Show PCM perf counter codes.
    • getSelectPerformanceCountersJobRegions

      public Integer getSelectPerformanceCountersJobRegions()
      [Internal use only] Issue a region per job automatically.
    • getSelectPerformanceCountersShowStats

      public Integer getSelectPerformanceCountersShowStats()
      [Internal use only] Perf counter per-thread statistics.
    • isShowDeterministicOutput

      public Boolean isShowDeterministicOutput()
      [Internal use only] If true omit thread IDs in debug output (set to true for determinism in regression tests)
    • isSpinOnExit

      public Boolean isSpinOnExit()
      [Internal use only] If true spin after execution, rather than exiting. This provides an opportunity to attach a debugger or to inspect the placement of threads or of memory.
    • isEnableDebugSignal

      public Boolean isEnableDebugSignal()
      [Internal use only] If true, outputs a dump of internal state upon receiving a SIGQUIT signal.
    • isFixThreadsUsedFromMain

      public Boolean isFixThreadsUsedFromMain()
      [Internal use only] If true fix threads used by work spawned by the main thread so that 0..N are used for an N-thread job. This aids comparison with OpenMP. If this is not set then threads will be chosen dynamically by the runtime system.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object