Interface Shutdownable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Cleanly and promptly shut down this object, as well as all child objects and objects depending on this one.
    • Method Detail

      • close

        void close()
        Cleanly and promptly shut down this object, as well as all child objects and objects depending on this one.

        Specified by:
        close in interface java.lang.AutoCloseable
        Implementation-Requirements
        implementations should attempt to shut down promptly but still perform cleanup if possible. There is not currently a timeout mechanism, so use your judgment.

        If any child objects are also Shutdownable, implementations should call close() on them as well.