コード例 #1
0
 /** If one or more readers are active */
 protected boolean isReaderActive() {
   return activeReaders.isActiveLock();
 }
コード例 #2
0
 /** If a writer is active */
 protected boolean isWriterActive() {
   return activeWriter.isActiveLock();
 }