Lines Matching defs:Lock
40 * {@code Lock} implementations provide more extensive locking
69 * {@code Lock} interface enable the use of such techniques by
80 * <pre><tt> Lock l = ...;
94 * <p>{@code Lock} implementations provide additional functionality
101 * <p>A {@code Lock} class can also provide behavior and semantics
107 * <p>Note that {@code Lock} instances are just normal objects and can
110 * monitor lock of a {@code Lock} instance has no specified relationship
112 * It is recommended that to avoid confusion you never use {@code Lock}
121 * <p>All {@code Lock} implementations <em>must</em> enforce the same
127 * synchronization effects as a successful <em>Lock</em> action.
142 * acquisition of a lock may not be available in a given {@code Lock}
166 public interface Lock {
177 * <p>A {@code Lock} implementation may be able to detect erroneous use
181 * {@code Lock} implementation.
221 * <p>A {@code Lock} implementation may be able to detect
225 * be documented by that {@code Lock} implementation.
243 * Lock lock = ...;
305 * <p>A {@code Lock} implementation may be able to detect
309 * {@code Lock} implementation.
327 * <p>A {@code Lock} implementation will usually impose
332 * type must be documented by that {@code Lock} implementation.
338 * {@code Lock} instance.
348 * the {@code Lock} implementation and must be documented by that
351 * @return A new {@link Condition} instance for this {@code Lock} instance
352 * @throws UnsupportedOperationException if this {@code Lock}