Package org.eclipse.net4j.util.concurrent
package org.eclipse.net4j.util.concurrent
Utility interfaces and classes commonly useful in concurrent programming.
-
ClassDescriptionDeprecated.Deprecated.As of 3.6 use
ExecutorWorkSerializer.Allow synchronization between many threads for a specific value.A critical section is a block of code that must be executed by only one thread at a time.ACriticalSectionimplementation that uses a givenLockto synchronize access to the critical section.ACriticalSectionimplementation that uses a given mutex object to synchronize access to the critical section.ACriticalSectionimplementation that does not perform any synchronization.A reentrant lock that can be delegated to other threads as detected bydelegate detectors.Deprecated.As of 3.9 use an executor such asSerializingExecutor.Holder<T>ICorrelator<CORRELATION,VALUE> IRWLockManager<OBJECT,CONTEXT> Support Multiple reads/no write and upgrade lock from read to write.IRWOLockManager<OBJECT,CONTEXT> Aread/write lock managerthat supportswrite optionlocks.IRWOLockManager.LockChange<OBJECT>An immutable request to lock or unlock objects for one context.IRWOLockManager.LockChange.DeltaHandler<OBJECT,CONTEXT> Receives one effective delta from aIRWOLockManager.changeLocks(CONTEXT, java.util.List<? extends org.eclipse.net4j.util.concurrent.IRWOLockManager.LockChange<OBJECT>>, org.eclipse.net4j.util.concurrent.IRWOLockManager.LockChange.DeltaHandler<OBJECT, CONTEXT>, java.util.function.Consumer<org.eclipse.net4j.util.concurrent.RWOLockManager.LockState<OBJECT, CONTEXT>>)call.The kind of mutation represented by aIRWOLockManager.LockChange.IRWOLockManager.LockDeltaHandler<OBJECT,CONTEXT> Receives notifications about changes to locks.ISynchronizer<RESULT>Synchronizes a producer and a consumer thread letting the producer pass a value to the consumer.Deprecated.As of 3.9 use an executor such asSerializingExecutor.An executor that permits at most one command to be pending at a time.Provides an execution order key that execution facilities can use to group related executions.QueueRunner2<T extends Runnable>QueueWorker<E>Deprecated.As of 3.6 useExecutorWorkSerializer.ResultSynchronizer<RESULT>RWLockManager<OBJECT,CONTEXT> Deprecated.As of 3.2 useRWOLockManager.RWLockManager.LockEntry<OBJECT,CONTEXT> Deprecated.UseRWOLockManagerRWLockManager.LockEntryHandler<OBJECT,CONTEXT> Deprecated.UseRWOLockManagerRWLockManager.LockStrategy<OBJECT,CONTEXT> Deprecated.UseRWOLockManagerRWOLockManager<OBJECT,CONTEXT> Keeps track of locks on objects.RWOLockManager.LockState<OBJECT,CONTEXT> Represents a combination of locks for one OBJECT.Deprecated.As of 3.9 subject to future removal.SynchronizingCorrelator<CORRELATION,RESULT> Deprecated.As of 3.9 use an executor such asSynchronousExecutor.TaskQueue<T>
ExecutorWorkSerializer.