Remove DataChangeListener and friends
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / OnDemandShardState.java
index fd79266b19e6953f75d37a6ec705483e78b0fb4c..76cff05a3323f9f601b5c266bf3e8761ddcb7428 100644 (file)
@@ -19,17 +19,12 @@ import org.opendaylight.controller.cluster.raft.client.messages.OnDemandRaftStat
  */
 public class OnDemandShardState extends OnDemandRaftState {
     private Collection<ActorSelection> treeChangeListenerActors;
-    private Collection<ActorSelection> dataChangeListenerActors;
     private Collection<ActorRef> commitCohortActors;
 
     public Collection<ActorSelection> getTreeChangeListenerActors() {
         return treeChangeListenerActors;
     }
 
-    public Collection<ActorSelection> getDataChangeListenerActors() {
-        return dataChangeListenerActors;
-    }
-
     public Collection<ActorRef> getCommitCohortActors() {
         return commitCohortActors;
     }
@@ -51,11 +46,6 @@ public class OnDemandShardState extends OnDemandRaftState {
             return self();
         }
 
-        public Builder dataChangeListenerActors(Collection<ActorSelection> actors) {
-            state.dataChangeListenerActors = actors;
-            return self();
-        }
-
         public Builder commitCohortActors(Collection<ActorRef> actors) {
             state.commitCohortActors = actors;
             return self();