Package com.pnfsoftware.jeb.util.concurrent
package com.pnfsoftware.jeb.util.concurrent
Types related to concurrency, synchronization, and external code execution.
-
ClassDescriptionBase implementation for auto-closable locks.A non-static, customizable version of
ThreadUtil
.An auto-closable lock.A runnable that can control its own execution.An object to allow the execution of external commands with timeout.This exception can be raised when a concurrency error is detected.Static routines to create daemon thread pools.A thread manager specialized to create daemon threads.Thread monitoring details used by the staticmonitor()
method as well as the more complexThreadMonitor
objects.Lock creator interface, for read-only locks and read-write locks.Standard implementation of theIMonitorInfoProvider
interface.This exception can be raised when an operation timed out before completion.Safe wrapper aroundProcessBuilder
andProcess
.Standard implementation of a safe lock, using a serializable reentrant read-write lock.Utility methods forISafeLock
s.ThreadEx<V>This class is used to monitor the execution of a target thread.Utility methods to manipulate threads.Enforce time-outs on operations and throwOperationTimedOutException
.Enforce time-outs on operations and throwOperationTimedOutException
.WeakConcurrentMap<K,V> A thread-safe map with weak keys.AWeakConcurrentMap
where stale entries are removed as a side effect of interacting with this map.A thread-safe set with weak values.Determines the cleaning format.