Class ProcessInfoConfig

java.lang.Object
io.deephaven.process.ProcessInfoConfig

public class ProcessInfoConfig extends Object
  • Field Details

    • PROCESS_INFO_ID_KEY

      public static final String PROCESS_INFO_ID_KEY
      The lookup key for ProcessInfo.getId(). If not present, will default to a random id.
      See Also:
    • PROCESS_INFO_SYSTEM_INFO_ENABLED_KEY

      public static final String PROCESS_INFO_SYSTEM_INFO_ENABLED_KEY
      The lookup key to see if ProcessInfo.getSystemInfo() is enabled. If not present, will default to SYSTEM_INFO_ENABLED_DEFAULT.
      See Also:
    • SYSTEM_INFO_ENABLED_DEFAULT

      public static final boolean SYSTEM_INFO_ENABLED_DEFAULT
      The default value to see if ProcessInfo.getSystemInfo() is enabled.
      See Also:
    • HOST_PATH_INFO_DIR_KEY

      public static final String HOST_PATH_INFO_DIR_KEY
      The lookup key for ProcessInfo.getHostPathInfo(). If not present, will default to HOST_PATH_INFO_DIR_DEFAULT.
      See Also:
    • HOST_PATH_INFO_DIR_DEFAULT

      public static final String HOST_PATH_INFO_DIR_DEFAULT
      The default SplayedPath root for ProcessInfo.getHostPathInfo().
      See Also:
  • Constructor Details

    • ProcessInfoConfig

      public ProcessInfoConfig()
  • Method Details

    • generateNewProcessInfoId

      public static String generateNewProcessInfoId()
      Generates a unique identifier string suitable for use as a worker identifier. This allows the RemoteQueryDispatcher to obtain and identifier that can be passed to a RemoteQueryProcessor so that all logging for a worker will use the same processInfoId. Generating it here encapsulates where it comes from.
      Returns:
      a unique identifier string
    • getThisProcessId

      @Nullable public static io.deephaven.process.ProcessUniqueId getThisProcessId()
    • getThisProcessIdValue

      @Nullable public static String getThisProcessIdValue()
    • createForCurrentProcess

      public static io.deephaven.process.ProcessInfo createForCurrentProcess(com.fishlib.configuration.Configuration config, String processInfoId) throws IOException
      Throws:
      IOException
    • createOrGetForCurrentProcess

      public static io.deephaven.process.ProcessInfo createOrGetForCurrentProcess(com.fishlib.configuration.Configuration config, String processInfoId) throws IOException
      Throws:
      IOException