1 25 26 package org.objectweb.perseus.concurrency.distributed.globallock.api; 27 28 29 37 38 public interface GlobalLock { 39 40 57 public GlobalLockWaiter upgrade(byte lck, boolean sync, long timeout) 58 throws DeadLockException, InterruptedException ; 59 60 64 public void downgrade(byte lck); 65 66 67 74 public byte getGrantable(); 75 76 80 public void uncache(); 81 82 } 83 | Popular Tags |