1 23 24 package org.apache.commons.transaction.locking; 25 26 33 public interface MultiLevelLock { 34 35 47 public boolean acquire(Object ownerId, int targetLockLevel, boolean wait, boolean reentrant, long timeoutMSecs) 48 throws InterruptedException ; 49 50 57 public boolean release(Object ownerId); 58 59 65 public int getLockLevel(Object ownerId); 66 } 67 | Popular Tags |