Bug 5740: Add ControlMessage interface to raft messages
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / base / messages / ApplyState.java
index 498d8d3bbbd3e923c81a0b254254c0eb19e2ff4f..10ee1d04f536de6463a3c072a4f75ba88897931e 100644 (file)
@@ -9,13 +9,14 @@
 package org.opendaylight.controller.cluster.raft.base.messages;
 
 import akka.actor.ActorRef;
+import akka.dispatch.ControlMessage;
 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
 import org.opendaylight.yangtools.concepts.Identifier;
 
 /**
  * Local message sent by a RaftActor to itself to signal state has been applied to the state machine.
  */
-public class ApplyState {
+public class ApplyState implements ControlMessage {
     private final ActorRef clientActor;
     private final Identifier identifier;
     private final ReplicatedLogEntry replicatedLogEntry;