Package com.helger.commons.concurrent
package com.helger.commons.concurrent
-
ClassDescriptionSmall wrapper around
Lockinterface to be used in a try-with-resources statement, so that the unlock happened.An implementation of theThreadFactoryinterface that provides some configuration options for the threads it creates.A builder class for creating instances ofBasicThreadFactory.Wrapper around anExecutorServicewith additional helper methods.Factory for creatingExecutorServiceinstances.Non reentrant lock.This is an extension aroundReentrantLockthat allows for easy usage with Java 8 :) SeeSimpleLock.locked(Runnable)andSimpleLock.locked(Runnable)method.This is an extension aroundReentrantReadWriteLockthat allows for easy usage with Java 8 :) SeeSimpleReadWriteLock.readLocked(Runnable)andSimpleReadWriteLock.writeLocked(Runnable)method.Some thread utility methods.