Interface LockableDatabase.LockedOperation

Enclosing class:
LockableDatabase
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface LockableDatabase.LockedOperation
Interface for operations that need to lock the database (basically every writing operation).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Perform the modification.
  • Method Details

    • run

      void run() throws Exception
      Perform the modification.
      Throws:
      Exception - in case of a problem.