+public class ShardDataTreeNotificationPublisherActor<T extends ShardDataTreeNotificationPublisher>
+ extends AbstractUntypedActor {
+ private final T publisher;
+ private final Stopwatch timer = Stopwatch.createUnstarted();
+ private final String name;
+ private final String logContext;
+
+ protected ShardDataTreeNotificationPublisherActor(final T publisher, final String name, final String logContext) {
+ this.publisher = publisher;
+ this.name = name;
+ this.logContext = logContext;
+ }
+
+ protected T publisher() {
+ return publisher;
+ }
+
+ protected String logContext() {
+ return logContext;
+ }