package com.hammurapi.store;

import java.util.concurrent.locks.Lock;

/**
 * Lock which knows whether it is locked or not by the
 * current "context", which can be the current thread or 
 * something else.
 * @author Pavel Vlasov
 *
 */
public interface TrackingLock extends Lock {

	boolean isLocked();
	
}
