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