Interface ExclusiveReadWriteTransaction
- All Superinterfaces:
AutoCloseable
Operates with an exclusive lock to the database. Used for bulk operations such as truncating or deleting all
Resources-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes thisExclusiveReadWriteTransaction.<T> TcomputeOperation(Function<DataStore, T> operation) voidperformOperation(Consumer<DataStore> operation)
-
Method Details
-
performOperation
-
computeOperation
-
close
void close()Closes thisExclusiveReadWriteTransaction.- Specified by:
closein interfaceAutoCloseable
-