Class SimpleLock

java.lang.Object
org.apache.juneau.internal.SimpleLock
All Implemented Interfaces:
AutoCloseable

public class SimpleLock extends Object implements AutoCloseable
A simple auto-closeable wrapper around a lock.
  • Field Details

  • Constructor Details

    • SimpleLock

      public SimpleLock(Lock lock)
      Constructor.
      Parameters:
      lock - The lock being wrapped.
  • Method Details