Class TaskRunnerInit


  • public final class TaskRunnerInit
    extends java.lang.Object
    All fields will always be supplied from configuration and calling code, the "if supported" stuff is just a reminder that TaskRunner implementations need not and may not support the provided config. (It's a fine idea to log a note, if some config will be ignored!)
    • Field Detail

      • num_threads_if_supported

        public final int num_threads_if_supported
      • max_administrative_task_time_if_supported

        public final int max_administrative_task_time_if_supported
      • contextClassLoaderSourceIfSupported

        public final java.lang.String contextClassLoaderSourceIfSupported
      • privilege_spawned_threads_if_supported

        public final boolean privilege_spawned_threads_if_supported
      • threadLabelIfSupported

        public final java.lang.String threadLabelIfSupported
      • otherProperties

        public final java.util.Map otherProperties
    • Constructor Detail

      • TaskRunnerInit

        public TaskRunnerInit​(int num_threads_if_supported,
                              int max_administrative_task_time_if_supported,
                              java.lang.String contextClassLoaderSourceIfSupported,
                              boolean privilege_spawned_threads_if_supported,
                              java.lang.String threadLabelIfSupported,
                              java.util.HashMap otherProperties)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object