KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > lockmanager > api > LockWaitContext


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.objectserver.lockmanager.api;
5
6 import com.tc.async.api.Sink;
7 import com.tc.net.protocol.tcm.ChannelID;
8 import com.tc.object.lockmanager.api.ThreadID;
9 import com.tc.object.tx.WaitInvocation;
10
11 public interface LockWaitContext {
12
13   public ChannelID getChannelID();
14
15   public ThreadID getThreadID();
16
17   public WaitInvocation getWaitInvocation();
18
19   public long getTimestamp();
20
21   public boolean wasUpgrade();
22   
23   public int lockLevel();
24
25   public Sink getLockResponseSink();
26
27   public void waitTimeout();
28
29 }
30
Popular Tags