Class DelegableReentrantLock

java.lang.Object
org.eclipse.net4j.util.concurrent.NonFairReentrantLock
org.eclipse.net4j.util.concurrent.DelegableReentrantLock
All Implemented Interfaces:
Serializable, Lock, IManagedContainerProvider, INotifier, IDeactivateable, ILifecycle

public class DelegableReentrantLock extends NonFairReentrantLock implements ILifecycle, IManagedContainerProvider
A reentrant lock that can be delegated to other threads as detected by delegate detectors.

Delegate detectors can be registered programmatically or discovered in a managed container. The plugin container is used by default.

This class implements ILifecycle and must be activated before use. As a consequence, it also implements INotifier, but it does not send any events.

Since:
3.6
Author:
Eike Stepper
See Also: