Interface Closeable

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
BlockAllocatorInternal, Committable
All Known Implementing Classes:
AsyncContainer, AsyncContainerMedia, AsyncContainers, Block, BlockAllocator, BlockContainer, BlockSequence, CachedCatalogBlockOperations, CatalogBlockOperations, Container, ContainerShard, ContainerShardKeyOperations, DataReader, DataWriter, FixSizeEntryBlock, KeyBlockOperations, Media, RootClosableImpl, SequenceBlock

public interface Closeable extends AutoCloseable
An interface that marks an entity that holds opened blocks, which should be closed after its usage.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    Closes this entity and all related blocks
    Provides a status of this entity
  • Method Details

    • close

      void close()
      Closes this entity and all related blocks
      Specified by:
      close in interface AutoCloseable
    • getStatus

      Status getStatus()
      Provides a status of this entity
      Returns:
      the status
    • checkOpened

      default void checkOpened()