Class AutoLock

  • All Implemented Interfaces:
    AutoCloseable

    public class AutoLock
    extends Object
    implements AutoCloseable
    Small wrapper around Lock interface to be used in a try-with-resources statement, so that the unlock happened.
    Since:
    9.0.0
    Author:
    Philip Helger