Interface CloseableKVStore

All Superinterfaces:
AutoCloseable, Closeable, KVStore
All Known Implementing Classes:
BranchedKVTransaction, ByteArrayLMDBKVStore, CachingKVStore, CachingKVTransaction, CloseableForwardingKVStore, LevelDBKVStore, LMDBKVStore, MVMapSnapshot, ReadOnlySpannerView, ReadWriteSpannerView, SnapshotLevelDBKVStore, XodusKVStore

public interface CloseableKVStore extends KVStore, Closeable
Implemented by KVStores that must be close()ed when no longer in use.

Note that the close() method of this interface does not throw IOException.

  • Method Details

    • close

      void close()
      Close this KVStore and release any resources associated with it.

      If this instance is already closed, then nothing happens.

      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable