Home » openjdk-7 » java » util » concurrent » locks » [javadoc | source]
java.util.concurrent.locks
static final class: ReentrantLock.NonfairSync [javadoc | source]
java.lang.Object
   java.util.concurrent.locks.AbstractOwnableSynchronizer
      java.util.concurrent.locks.AbstractQueuedSynchronizer
         java.util.concurrent.locks.ReentrantLock.Sync
            java.util.concurrent.locks.ReentrantLock$NonfairSync

All Implemented Interfaces:
    Serializable

Sync object for non-fair locks
Fields inherited from java.util.concurrent.locks.AbstractQueuedSynchronizer:
spinForTimeoutThreshold
Method from java.util.concurrent.locks.ReentrantLock$NonfairSync Summary:
lock,   tryAcquire
Methods from java.util.concurrent.locks.ReentrantLock$Sync:
getHoldCount,   getOwner,   isHeldExclusively,   isLocked,   lock,   newCondition,   nonfairTryAcquire,   tryRelease
Methods from java.util.concurrent.locks.AbstractQueuedSynchronizer:
acquire,   acquireInterruptibly,   acquireQueued,   acquireShared,   acquireSharedInterruptibly,   apparentlyFirstQueuedIsExclusive,   compareAndSetState,   fullyRelease,   getExclusiveQueuedThreads,   getFirstQueuedThread,   getQueueLength,   getQueuedThreads,   getSharedQueuedThreads,   getState,   getWaitQueueLength,   getWaitingThreads,   hasContended,   hasQueuedPredecessors,   hasQueuedThreads,   hasWaiters,   isHeldExclusively,   isOnSyncQueue,   isQueued,   owns,   release,   releaseShared,   setState,   toString,   transferAfterCancelledWait,   transferForSignal,   tryAcquire,   tryAcquireNanos,   tryAcquireShared,   tryAcquireSharedNanos,   tryRelease,   tryReleaseShared
Methods from java.util.concurrent.locks.AbstractOwnableSynchronizer:
getExclusiveOwnerThread,   setExclusiveOwnerThread
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.concurrent.locks.ReentrantLock$NonfairSync Detail:
 final  void lock() 
    Performs lock. Try immediate barge, backing up to normal acquire on failure.
 protected final boolean tryAcquire(int acquires)