Class RootClosableImpl

java.lang.Object
org.rostore.v2.media.RootClosableImpl
All Implemented Interfaces:
AutoCloseable, Closeable
Direct Known Subclasses:
AsyncContainers, BlockSequence, Media

public class RootClosableImpl extends Object implements Closeable
A basic class that has the status and can be closed.

This is the most simple implementation of Closeable

  • Constructor Details

    • RootClosableImpl

      public RootClosableImpl()
  • Method Details

    • close

      public void close()
      Description copied from interface: Closeable
      Closes this entity and all related blocks
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • getStatus

      public Status getStatus()
      Description copied from interface: Closeable
      Provides a status of this entity
      Specified by:
      getStatus in interface Closeable
      Returns:
      the status