*
* @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) {
/**
* 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);