Package nonapi.io.github.classgraph.concurrency
-
Interface Summary Interface Description SingletonMap.NewInstanceFactory<V,E extends java.lang.Exception> Create a new instance.WorkQueue.WorkUnitProcessor<T> A work unit processor. -
Class Summary Class Description AutoCloseableExecutorService A ThreadPoolExecutor that can be used in a try-with-resources block.InterruptionChecker Check if this thread or any other thread that shares this InterruptionChecker instance has been interrupted or has thrown an exception.SimpleThreadFactory Simple implementation of a thread factory.SingletonMap<K,V,E extends java.lang.Exception> A map from keys to singleton instances.SingletonMap.SingletonHolder<V> 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.WorkQueue.WorkUnitWrapper<T> A wrapper for work units (needed to send a poison pill as a null value, since BlockingQueue does not accept null values). -
Exception Summary Exception Description SingletonMap.NewInstanceException Thrown whenSingletonMap.newInstance(Object, LogNode)
throws an exception.SingletonMap.NullSingletonException Thrown whenSingletonMap.newInstance(Object, LogNode)
returns null.