1 4 package com.tc.object.lockmanager.api; 5 6 import com.tc.object.tx.WaitInvocation; 7 8 import java.util.Collection ; 9 10 15 public interface RemoteLockManager { 16 public void flush(LockID lockID); 17 18 public void queryLock(LockID lockID, ThreadID threadID); 19 20 public void interrruptWait(LockID lockID, ThreadID threadID); 21 22 public void requestLock(LockID lockID, ThreadID threadID, int lockType); 23 24 public void tryRequestLock(LockID lockID, ThreadID threadID, int lockType); 25 26 public void releaseLock(LockID lockID, ThreadID threadID); 27 28 public void releaseLockWait(LockID lockID, ThreadID threadID, WaitInvocation call); 29 30 public void recallCommit(LockID lockID, Collection lockContext, Collection waitContext, Collection pendingRequests); 31 32 public boolean isTransactionsForLockFlushed(LockID lockID, LockFlushCallback callback); 33 } | Popular Tags |