Interface LeafLock.Handle

All Superinterfaces:
AutoCloseable
Enclosing class:
LeafLock

public static interface LeafLock.Handle extends AutoCloseable
Represents a held LeafLock. Closing the handle releases the lock, which makes it convenient to acquire the lock with try-with-resources.
  • Method Summary

    Modifier and Type
    Method
    Description
    void