List of usage examples for java.util.concurrent.locks Lock interface-usage
From source file com.civprod.util.concurrent.locks.CompositeLock.java
/** * * @author Steven Owens */ public class CompositeLock implements Lock {
From source file org.codehaus.wadi.core.util.LoggingLock.java
/** * * @version $Rev:$ $Date:$ */ public class LoggingLock implements Lock { private static final Log LOG = LogFactory.getLog(LoggingLock.class);
From source file nz.co.senanque.locking.sql.SQLLock.java
/**
* Oracle Lock: this can be used across multiple JVMs
* Incurs some database overhead.
* It clears all the locks for this JVM when it restarts.
*
* @author Roger Parkinson
From source file nz.co.senanque.locking.simple.SimpleLock.java
/**
* Simple lock: only useful on the same vm
* Ignores the locktype parameter
*
* @author Roger Parkinson
*
From source file com.pytsoft.cachelock.core.CacheLock.java
/**
* The {@code CacheLock} abstract class is the distributed implementation of the {@code java.util.concurrent.locks.Lock} interface.
*
* <p>The lock target key, field, and user defined configurations are defined on constructor. If no user defined
* configuration is present, default configuration will be used.</p>
*