Interface IAutoLock

  • All Superinterfaces:
    java.lang.AutoCloseable

    public interface IAutoLock
    extends java.lang.AutoCloseable
    • Method Detail

      • release

        void release()
        Manually releases the lock. WARNING: Do not combine with try-with-resource to avoid duplicate unlocking.
      • close

        void close()
        Unlocks the lock via the resource approach.
        Specified by:
        close in interface java.lang.AutoCloseable