Remove yang-test
[controller.git] / opendaylight / config / config-persister-api / src / main / java / org / opendaylight / controller / config / persist / api / Persister.java
index 1448e553e3017a478ee57a8e833b0ee3a9a63577..5509c9943745a2cc658b0c29a3bfc90797300da8 100644 (file)
@@ -8,9 +8,8 @@
 
 package org.opendaylight.controller.config.persist.api;
 
-import com.google.common.base.Optional;
-
 import java.io.IOException;
+import java.util.List;
 
 /**
  * Base interface for persister implementation.
@@ -19,7 +18,7 @@ public interface Persister extends AutoCloseable {
 
     void persistConfig(ConfigSnapshotHolder configSnapshotHolder) throws IOException;
 
-    Optional<ConfigSnapshotHolder> loadLastConfig() throws IOException;
+    List<ConfigSnapshotHolder> loadLastConfigs() throws IOException;
 
     @Override
     void close();