Package org.rostore.v2.media
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
An interface that marks an entity that holds opened blocks,
which should be closed after its usage.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
void
close()
Closes this entity and all related blocksProvides a status of this entity
-
Method Details
-
close
void close()Closes this entity and all related blocks- Specified by:
close
in interfaceAutoCloseable
-
getStatus
Status getStatus()Provides a status of this entity- Returns:
- the status
-
checkOpened
default void checkOpened()
-