- public ShardReadTransaction(DOMStoreReadTransaction transaction, ActorRef shardActor,
- SchemaContext schemaContext) {
- super(shardActor, schemaContext);
- this.transaction = transaction;
+ public ShardReadTransaction(AbstractShardDataTreeTransaction<?> transaction, ActorRef shardActor,
+ ShardStats shardStats) {
+ super(shardActor, shardStats, transaction.getId());
+ this.transaction = Preconditions.checkNotNull(transaction);