KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > lockmanager > api > WaitLockRequest


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.lockmanager.api;
5
6 import com.tc.object.tx.WaitInvocation;
7
8 public class WaitLockRequest extends LockRequest {
9
10   private final WaitInvocation call;
11
12   public WaitLockRequest(LockID lockID, ThreadID threadID, int lockType, WaitInvocation call ) {
13     super(lockID, threadID, lockType);
14     this.call = call;
15   }
16
17   public WaitInvocation getWaitInvocation() {
18     return call;
19   }
20 }
21
Popular Tags