001package com.hammurapi.store;
002
003import java.util.concurrent.locks.Lock;
004
005/**
006 * Lock which knows whether it is locked or not by the
007 * current "context", which can be the current thread or 
008 * something else.
009 * @author Pavel Vlasov
010 *
011 */
012public interface TrackingLock extends Lock {
013
014        boolean isLocked();
015        
016}