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
name
protected final String name
readLock
protected final Lock readLock
writeLock
protected final Lock writeLock
NamedLocks.NamedLock
protected NamedLocks.NamedLock(String name)
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
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.