Package nonapi.io.github.classgraph.concurrency
package nonapi.io.github.classgraph.concurrency
-
ClassDescriptionA ThreadPoolExecutor that can be used in a try-with-resources block.Check if this thread or any other thread that shares this InterruptionChecker instance has been interrupted or has thrown an exception.Simple implementation of a thread factory.SingletonMap<K,
V, E extends Exception> A map from keys to singleton instances.Thrown whenSingletonMap.newInstance(Object, LogNode)
throws an exception.SingletonMap.NewInstanceFactory<V,E extends Exception> Create a new instance.Thrown whenSingletonMap.newInstance(Object, LogNode)
returns null.Wrapper to allow an object instance to be put into a ConcurrentHashMap using putIfAbsent() without requiring the instance to be initialized first, so that putIfAbsent can be performed without wrapping it with a synchronized lock, and so that initialization work is not wasted if an object is already in the map for the key.WorkQueue<T>A parallel work queue.A work unit processor.A wrapper for work units (needed to send a poison pill as a null value, since BlockingQueue does not accept null values).