@FunctionalInterface
public interface LockCloseable
extends java.lang.AutoCloseable
close(), intended for use with try-with-resources.
 
 Implementations do not guard against multiple invocations of close(). That means, each call to close
 will result in an Lock.unlock() or equivalent.
 
| Modifier and Type | Field and Description | 
|---|---|
| static LockCloseable | NO_OPLock closeable that can be used as a no-op (e.g. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Performs an  Lock.unlock()or equivalent on the lock. | 
static final LockCloseable NO_OP
Copyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.