01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.util.concurrent.locks;
05:
06: import java.util.concurrent.locks.Lock;
07:
08: public interface TCLock extends Lock {
09: public Object getTCLockingObject();
10:
11: public boolean isHeldByCurrentThread();
12:
13: public int localHeldCount();
14: }
|