Slice front-end request messages
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / DelegatingPersistentDataProvider.java
index c74236bb479cd8372e52526438ce5906f23ee3b9..f1a20fcc8e54f4e2f4908a8ec032477a6bd89b0f 100644 (file)
@@ -36,13 +36,18 @@ public class DelegatingPersistentDataProvider implements DataPersistenceProvider
     }
 
     @Override
-    public <T> void persist(T o, Procedure<T> procedure) {
-        delegate.persist(o, procedure);
+    public <T> void persist(T entry, Procedure<T> procedure) {
+        delegate.persist(entry, procedure);
     }
 
     @Override
-    public void saveSnapshot(Object o) {
-        delegate.saveSnapshot(o);
+    public <T> void persistAsync(T entry, Procedure<T> procedure) {
+        delegate.persistAsync(entry, procedure);
+    }
+
+    @Override
+    public void saveSnapshot(Object entry) {
+        delegate.saveSnapshot(entry);
     }
 
     @Override
@@ -54,4 +59,9 @@ public class DelegatingPersistentDataProvider implements DataPersistenceProvider
     public void deleteMessages(long sequenceNumber) {
         delegate.deleteMessages(sequenceNumber);
     }
+
+    @Override
+    public long getLastSequenceNumber() {
+        return delegate.getLastSequenceNumber();
+    }
 }