@Override protected void finalize() throws Throwable { if (reservable) { LOGGER.warn( "Affinity lock for {} was discarded rather than release()d in a controlled manner.", assignedThread); release(); } super.finalize(); }
@Override public void close() { release(); }