Rename ActorContext to ActorUtils
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / LeaderLocalDelegateFactory.java
index fbd974a1da8bb8777721944914b153230bbe954b..b6fb127714f07b8529de25bc1760dd7c16532f91 100644 (file)
@@ -19,9 +19,8 @@ import com.google.common.base.Preconditions;
  *
  * @param <D> delegate type
  * @param <M> message type
- * @param <I> initial state type
  */
-abstract class LeaderLocalDelegateFactory<M, D, I> extends DelegateFactory<M, D, I> {
+abstract class LeaderLocalDelegateFactory<M> {
     private final Shard shard;
 
     protected LeaderLocalDelegateFactory(final Shard shard) {
@@ -59,8 +58,7 @@ abstract class LeaderLocalDelegateFactory<M, D, I> extends DelegateFactory<M, D,
     /**
      * Invoked whenever the local shard's leadership role changes.
      *
-     * @param isLeader true if the shard has become leader, false if it has
- *                 become a follower.
+     * @param isLeader true if the shard has become leader, false if it has become a follower.
      * @param hasLeader true if the shard knows about leader ID
      */
     abstract void onLeadershipChange(boolean isLeader, boolean hasLeader);