Package org.eclipse.net4j.util.concurrent

## Interface RWLockManager.LockEntry<OBJECT,​CONTEXT>

- Enclosing class:
    RWLockManager<OBJECT,​CONTEXT>

      @Deprecated
      protected static interface RWLockManager.LockEntry<OBJECT,​CONTEXT>

  Deprecated.
  Use `RWOLockManager`
  Since:
    3.1
  Author:
    Simon McDuff

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `canObtainReadLock​(CONTEXT context)` | Deprecated.
    `boolean` | `canObtainWriteLock​(CONTEXT context)` | Deprecated.
    `void` | `changeContext​(CONTEXT oldContext, CONTEXT newContext)` | Deprecated.
    `RWLockManager.LockEntry<OBJECT,​CONTEXT>` | `clearLock​(CONTEXT context)` | Deprecated.
    `OBJECT` | `getObject()` | Deprecated.
    `boolean` | `hasContext​(CONTEXT context)` | Deprecated.
    `boolean` | `isReadLock​(CONTEXT context)` | Deprecated.
    `boolean` | `isReadLockByOthers​(CONTEXT context)` | Deprecated.
    `boolean` | `isWriteLock​(CONTEXT context)` | Deprecated.
    `boolean` | `isWriteLockByOthers​(CONTEXT context)` | Deprecated.
    `RWLockManager.LockEntry<OBJECT,​CONTEXT>` | `readLock​(CONTEXT context)` | Deprecated.
    `RWLockManager.LockEntry<OBJECT,​CONTEXT>` | `readUnlock​(CONTEXT context)` | Deprecated.
    `RWLockManager.LockEntry<OBJECT,​CONTEXT>` | `writeLock​(CONTEXT context)` | Deprecated.
    `RWLockManager.LockEntry<OBJECT,​CONTEXT>` | `writeUnlock​(CONTEXT context)` | Deprecated.

- - ### Method Detail

    - #### getObject

          OBJECT getObject()

      Deprecated.

    - #### isReadLock

          boolean isReadLock​(CONTEXT context)

      Deprecated.

    - #### isWriteLock

          boolean isWriteLock​(CONTEXT context)

      Deprecated.

    - #### isReadLockByOthers

          boolean isReadLockByOthers​(CONTEXT context)

      Deprecated.

    - #### isWriteLockByOthers

          boolean isWriteLockByOthers​(CONTEXT context)

      Deprecated.

    - #### canObtainReadLock

          boolean canObtainReadLock​(CONTEXT context)

      Deprecated.

    - #### canObtainWriteLock

          boolean canObtainWriteLock​(CONTEXT context)

      Deprecated.

    - #### readLock

          RWLockManager.LockEntry<OBJECT,​CONTEXT> readLock​(CONTEXT context)

      Deprecated.

    - #### writeLock

          RWLockManager.LockEntry<OBJECT,​CONTEXT> writeLock​(CONTEXT context)

      Deprecated.

    - #### readUnlock

          RWLockManager.LockEntry<OBJECT,​CONTEXT> readUnlock​(CONTEXT context)

      Deprecated.

    - #### writeUnlock

          RWLockManager.LockEntry<OBJECT,​CONTEXT> writeUnlock​(CONTEXT context)

      Deprecated.

    - #### clearLock

          RWLockManager.LockEntry<OBJECT,​CONTEXT> clearLock​(CONTEXT context)

      Deprecated.

    - #### changeContext

          void changeContext​(CONTEXT oldContext,
                             CONTEXT newContext)

      Deprecated.
      Since:
        3.1

    - #### hasContext

          boolean hasContext​(CONTEXT context)

      Deprecated.
      Since:
        3.1