Interface KeyValueStorage.Batch
- All Superinterfaces:
AutoCloseable,Closeable
- Enclosing interface:
- KeyValueStorage
Interface for a batch to be written in the storage.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intvoidclear()voiddeleteRange(byte[] beginKey, byte[] endKey) voidflush()voidput(byte[] key, byte[] value) voidremove(byte[] key)
-
Method Details
-
put
- Throws:
IOException
-
remove
- Throws:
IOException
-
deleteRange
- Throws:
IOException
-
clear
void clear() -
flush
- Throws:
IOException
-
batchCount
default int batchCount()
-