Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.buffer
Interface ReadWriteLockImplementation


public interface ReadWriteLockImplementation


Method Summary
 void appendSnapshot(java.lang.StringBuilder buffer)
           
 int getReadHoldCount()
           
 int getWriteHoldCount()
           
 boolean readLock(boolean block)
           
 void readLockInterruptibly()
           
 void readUnlock()
           
 int releaseReaders()
           
 void restoreReaders(int readerCount)
           
 void setEventLog(Log log)
           
 boolean writeLock(boolean block)
           
 void writeLockInterruptibly()
           
 void writeUnlock()
           
 

Method Detail

readLock

boolean readLock(boolean block)

readLockInterruptibly

void readLockInterruptibly()
                           throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

readUnlock

void readUnlock()

writeLock

boolean writeLock(boolean block)

writeLockInterruptibly

void writeLockInterruptibly()
                            throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

releaseReaders

int releaseReaders()

restoreReaders

void restoreReaders(int readerCount)

writeUnlock

void writeUnlock()

getReadHoldCount

int getReadHoldCount()

getWriteHoldCount

int getWriteHoldCount()

appendSnapshot

void appendSnapshot(java.lang.StringBuilder buffer)

setEventLog

void setEventLog(Log log)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.