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
KVStore
s 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 thisKVStore
and release any resources associated with it.If this instance is already closed, then nothing happens.
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-