Interface ReadTransactionFactory


  • public interface ReadTransactionFactory
    Factory to create ReadTransaction objects.
    • Method Detail

      • createReadTransaction

        ReadTransaction createReadTransaction​(MdibStorage mdibStorage,
                                              @Nullable
                                              Lock lock)
        Creates a read transaction intended for multiple read requests on an MDIB access object.
        Parameters:
        mdibStorage - the storage where to access data.
        lock - the lock that is used for the lifetime of the read transaction. The lock is gained on object construction and unlocked on auto-close.
        Returns:
        a new ReadTransaction instance.