Module org.neo4j.driver
Package org.neo4j.driver.internal.async
Interface TerminationAwareStateLockingExecutor
- All Known Implementing Classes:
UnmanagedTransaction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
execute
Locks the state and executes the suppliedConsumer
with a cause of termination if the state is terminated.- Parameters:
causeOfTerminationConsumer
- the consumer accepting
-