Class Janitor

  • All Implemented Interfaces:
    HasCleanup

    public class Janitor
    extends Object
    implements HasCleanup
    An agent that can be used to defer cleanup operations to a later time. Users much implement the HasCleanup interface.
    • Constructor Detail

      • Janitor

        public Janitor()
    • Method Detail

      • register

        public void register​(HasCleanup object)