Package io.permazen.kv
Interface CloseableKVStore
- All Superinterfaces:
AutoCloseable,Closeable,KVStore
- All Known Implementing Classes:
BranchedKVTransaction,ByteArrayLMDBKVStore,CachingKVStore,CachingKVTransaction,CloseableForwardingKVStore,LevelDBKVStore,LMDBKVStore,MVMapSnapshot,ReadOnlySpannerView,ReadWriteSpannerView,SnapshotLevelDBKVStore,XodusKVStore
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 Summary
Methods inherited from interface io.permazen.kv.KVStore
adjustCounter, apply, decodeCounter, encodeCounter, get, getAtLeast, getAtMost, getRange, getRange, getRange, put, remove, removeRange, removeRange
-
Method Details
-
close
void close()Close thisKVStoreand release any resources associated with it.If this instance is already closed, then nothing happens.
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-