+ private final short primaryShardVersion;
+ private final ReadOnlyDataTree localShardDataTree;
+
+ public PrimaryShardInfo(final @NonNull ActorSelection primaryShardActor, final short primaryShardVersion,
+ final @NonNull ReadOnlyDataTree localShardDataTree) {
+ this.primaryShardActor = requireNonNull(primaryShardActor);
+ this.primaryShardVersion = primaryShardVersion;
+ this.localShardDataTree = requireNonNull(localShardDataTree);
+ }