EDU.oswego.cs.dl.util.concurrent

Class FIFOReadWriteLock.ReaderSync

Enclosing Class:
FIFOReadWriteLock
Implemented Interfaces:
Sync

protected class FIFOReadWriteLock.ReaderSync
extends Object
implements Sync

Fields inherited from interface EDU.oswego.cs.dl.util.concurrent.Sync

ONE_CENTURY, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR

Method Summary

void
acquire()
boolean
attempt(long msecs)
void
release()

Method Details

acquire

public void acquire()
            throws InterruptedException
Specified by:
acquire in interface Sync


attempt

public boolean attempt(long msecs)
            throws InterruptedException
Specified by:
attempt in interface Sync


release

public void release()
Specified by:
release in interface Sync