/** * Creates a new read-only transaction. * * @param identifier Transaction Identifier * @param debug Enable transaction debugging * @param snapshot Snapshot which will be modified. */ public static <T> SnapshotBackedReadTransaction<T> newReadTransaction(final T identifier, final boolean debug, final DataTreeSnapshot snapshot) { return new SnapshotBackedReadTransaction<>(identifier, debug, snapshot); }
/** * Creates a new read-only transaction. * * @param identifier Transaction Identifier * @param debug Enable transaction debugging * @param snapshot Snapshot which will be modified. */ public static <T> SnapshotBackedReadTransaction<T> newReadTransaction(final T identifier, final boolean debug, final DataTreeSnapshot snapshot) { return new SnapshotBackedReadTransaction<T>(identifier, debug, snapshot); }