Package omero.util

Interface Resources.Entry

  • Enclosing class:
    Resources

    public static interface Resources.Entry
    Interface to be implemented by any object which wants to be managed by the Resources class.
    • Method Detail

      • check

        boolean check()
        Called during each cycle. If it returns false or throws an exception, cleanup() will be called on the instance, and it will be removed.
      • cleanup

        void cleanup()
        Gives an Resources.Entry a chance to cleanup resources before it is removed from checking.