站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 Cache API Documentation 英文版文档

ReadWriteLockWithUpgrade.WriterLock (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档


org.jboss.cache.lock
Class ReadWriteLockWithUpgrade.WriterLock

java.lang.Object
  extended byorg.jboss.cache.lock.ReadWriteLockWithUpgrade.Signaller
      extended byorg.jboss.cache.lock.ReadWriteLockWithUpgrade.WriterLock
All Implemented Interfaces:
EDU.oswego.cs.dl.util.concurrent.Sync
Enclosing class:
ReadWriteLockWithUpgrade

protected class ReadWriteLockWithUpgrade.WriterLock
extends ReadWriteLockWithUpgrade.Signaller
implements EDU.oswego.cs.dl.util.concurrent.Sync


Field Summary
 
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
 
Constructor Summary
protected ReadWriteLockWithUpgrade.WriterLock()
           
 
Method Summary
 void acquire()
           
 boolean attempt(long msecs)
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadWriteLockWithUpgrade.WriterLock

protected ReadWriteLockWithUpgrade.WriterLock()
Method Detail

acquire

public void acquire()
             throws InterruptedException
Specified by:
acquire in interface EDU.oswego.cs.dl.util.concurrent.Sync
Throws:
InterruptedException

release

public void release()
Specified by:
release in interface EDU.oswego.cs.dl.util.concurrent.Sync

attempt

public boolean attempt(long msecs)
                throws InterruptedException
Specified by:
attempt in interface EDU.oswego.cs.dl.util.concurrent.Sync
Throws:
InterruptedException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.