Interface ISafeLock

All Known Implementing Classes:
SafeLockImpl

@Ser public interface ISafeLock
Lock creator interface, for read-only locks and read-write locks.
  • Method Summary

    Modifier and Type
    Method
    Description
    ro()
    Create an auto-closable read-only lock.
    rw()
    Create an auto-closable read-write lock.
  • Method Details

    • ro

      ACLock ro()
      Create an auto-closable read-only lock.
      Returns:
    • rw

      ACLock rw()
      Create an auto-closable read-write lock.
      Returns: