Interface ReadTransactionProvider
-
- All Known Subinterfaces:
LocalMdibAccess,RemoteMdibAccess
- All Known Implementing Classes:
LocalMdibAccessImpl,RemoteMdibAccessImpl
public interface ReadTransactionProviderDefines an interface to declare a class capable of starting read transactions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReadTransactionstartTransaction()Starts a read transaction.
-
-
-
Method Detail
-
startTransaction
ReadTransaction startTransaction()
Starts a read transaction.Use the read transaction in an auto-closeable
try...block in order to ensure releasing the lock that is gained before this function returns.- Returns:
- a new locked MDIB access transaction to operate on (read-only).
-
-