Interface Closeable

All Known Implementing Classes:
SystemDescriptor

public interface Closeable
A closeable object is one that can be closed once, and can not be opened again
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Idempotent close method.
    boolean
    Returns true if the instance has been closed
  • Method Details

    • close

      boolean close()
      Idempotent close method. Returns true if the instance had already been closed
      Returns:
      true if the object had already been closed, false otherwise
    • isClosed

      boolean isClosed()
      Returns true if the instance has been closed
      Returns:
      true if the object is closed