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