!per #17586 async snapshot delete and remove timestamp from deleteSnapshot()

This commit is contained in:
Konrad Malawski 2015-06-03 15:56:00 +02:00
parent 156204aa81
commit 63baaf1b2b
16 changed files with 280 additions and 92 deletions

View file

@ -5,6 +5,7 @@
package doc;
//#plugin-imports
import akka.dispatch.Futures;
import akka.persistence.*;
import akka.persistence.journal.japi.*;
import akka.persistence.snapshot.japi.*;
@ -69,11 +70,13 @@ public class LambdaPersistencePluginDocTest {
}
@Override
public void doDelete(SnapshotMetadata metadata) throws Exception {
public Future<Void> doDelete(SnapshotMetadata metadata) throws Exception {
return Futures.successful(null);
}
@Override
public void doDelete(String persistenceId, SnapshotSelectionCriteria criteria) throws Exception {
public Future<Void> doDelete(String persistenceId, SnapshotSelectionCriteria criteria) throws Exception {
return Futures.successful(null);
}
}