public class

SerReentrantReadWriteLock

extends Object
implements ReadWriteLock
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.serialization.objects.SerReentrantReadWriteLock

Class Overview

Wrapper for a Java ReentrantReadWriteLock that supports serialization.

Summary

Public Constructors
SerReentrantReadWriteLock()
SerReentrantReadWriteLock(boolean fair)
Public Methods
ReentrantReadWriteLock get()
final int getQueueLength()
int getReadHoldCount()
int getReadLockCount()
int getWaitQueueLength(Condition condition)
int getWriteHoldCount()
final boolean hasQueuedThread(Thread thread)
final boolean hasQueuedThreads()
boolean hasWaiters(Condition condition)
final boolean isFair()
boolean isWriteLocked()
boolean isWriteLockedByCurrentThread()
ReentrantReadWriteLock.ReadLock readLock()
ReentrantReadWriteLock.WriteLock writeLock()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.concurrent.locks.ReadWriteLock

Public Constructors

public SerReentrantReadWriteLock ()

public SerReentrantReadWriteLock (boolean fair)

Public Methods

public ReentrantReadWriteLock get ()

public final int getQueueLength ()

public int getReadHoldCount ()

public int getReadLockCount ()

public int getWaitQueueLength (Condition condition)

public int getWriteHoldCount ()

public final boolean hasQueuedThread (Thread thread)

public final boolean hasQueuedThreads ()

public boolean hasWaiters (Condition condition)

public final boolean isFair ()

public boolean isWriteLocked ()

public boolean isWriteLockedByCurrentThread ()

public ReentrantReadWriteLock.ReadLock readLock ()

public ReentrantReadWriteLock.WriteLock writeLock ()