Package org.apache.sis.internal.system
Class Threads
java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.system.Threads
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 onReferenceQueueConsumer 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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ThreadGroupThe parent of every threads declared in this class. -
Method Summary
-
Field Details
-
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.
-