Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.value.binary
Class NamedLocks.NamedLock

    java.lang.Object
      org.modeshape.jcr.value.binary.NamedLocks.NamedLock

Enclosing class:
  NamedLocks

    protected final class NamedLocks.NamedLock

extends Object

Field Summary
`protected String` | `name`
`protected Lock` | `readLock`
`protected Lock` | `writeLock`

Constructor Summary
`protected` | `NamedLocks.NamedLock(String name)`

Method Summary
`protected int` | `decrementReferenceCount()`
`protected void` | `incrementReferenceCount()`
`protected Lock` | `lock(boolean write)`
`String` | `toString()`
`protected void` | `unlock(Lock lock)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### name

    protected final String name

### readLock

    protected final Lock readLock

### writeLock

    protected final Lock writeLock

Constructor Detail

### NamedLocks.NamedLock

    protected NamedLocks.NamedLock(String name)

Method Detail

### incrementReferenceCount

    protected void incrementReferenceCount()

### decrementReferenceCount

    protected int decrementReferenceCount()

### lock

    protected Lock lock(boolean write)

### unlock

    protected void unlock(Lock lock)

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.