Package org.eclipse.net4j.util.concurrent
package org.eclipse.net4j.util.concurrent
Utility interfaces and classes commonly useful in concurrent programming.
-
KlasseBeschreibungVeraltet.Veraltet.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.Veraltet.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.LockDeltaHandler<OBJECT,CONTEXT> ISynchronizer<RESULT>Synchronizes a producer and a consumer thread letting the producer pass a value to the consumer.Veraltet.As of 3.9 use an executor such asSerializingExecutor.QueueRunner2<T extends Runnable>QueueWorker<E>Veraltet.As of 3.6 useExecutorWorkSerializer.ResultSynchronizer<RESULT>RWLockManager<OBJECT,CONTEXT> Veraltet.As of 3.2 useRWOLockManager.RWLockManager.LockEntry<OBJECT,CONTEXT> Veraltet.UseRWOLockManagerRWLockManager.LockEntryHandler<OBJECT,CONTEXT> Veraltet.UseRWOLockManagerRWLockManager.LockStrategy<OBJECT,CONTEXT> Veraltet.UseRWOLockManagerRWOLockManager<OBJECT,CONTEXT> Keeps track of locks on objects.RWOLockManager.LockState<OBJECT,CONTEXT> Represents a combination of locks for one OBJECT.Veraltet.As of 3.9 subject to future removal.SynchronizingCorrelator<CORRELATION,RESULT> Veraltet.As of 3.9 use an executor such asSynchronousExecutor.TaskQueue<T>
ExecutorWorkSerializer.