01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.objectserver.lockmanager.impl;
05:
06: import com.tc.async.api.Sink;
07: import com.tc.object.tx.WaitInvocation;
08:
09: public class TryLockContextImpl extends LockWaitContextImpl {
10: public TryLockContextImpl(ServerThreadContext threadContext,
11: Lock lock, WaitInvocation call, int lockLevel,
12: Sink lockResponseSink) {
13: super (threadContext, lock, call, lockLevel, lockResponseSink);
14: }
15:
16: public void waitTimeout() {
17: this.getLock().tryRequestLockTimeout(this);
18: }
19: }
|