Class Threads

java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.system.Threads

public final class Threads extends Static
Utilities methods for threads. This class declares in a single place every ThreadGroup used in SIS. Their intent is to bring some order in debugger information, by grouping the threads created by SIS together under the same parent tree node.

Note on dependencies

This class shall not depend on ReferenceQueueConsumer or DelayedExecutor, because initialization of those classes create new threads. However, it is okay to have dependencies the other way around.
Since:
0.3
Version:
1.1
Author:
Martin Desruisseaux (Geomatys)
  • Field Details

    • SIS

      public static final ThreadGroup SIS
      The parent of every threads declared in this class. This parent will be declared as close as possible to the root of all thread groups (i.e. not as an application thread subgroup). The intent is to separate the library thread groups from the user application thread groups.