Class LocalSnapshotStore
java.lang.Object
org.apache.pekko.persistence.snapshot.japi.SnapshotStore
org.opendaylight.controller.cluster.persistence.LocalSnapshotStore
- All Implemented Interfaces:
 Actor,ActorLogging,SnapshotStore
@Deprecated(since="11.0.0",
            forRemoval=true)
public final class LocalSnapshotStore
extends SnapshotStore
Deprecated, for removal: This API element is subject to removal in a future version.
Akka SnapshotStore implementation backed by the local file system. This class was patterned after akka's
 LocalSnapshotStore class and exists because akka's version serializes to a byte[] before persisting
 to the file which will fail if the data reaches or exceeds Integer.MAX_VALUE in size. This class avoids that issue
 by serializing the data directly to the file.
- Author:
 - Thomas Pantelis
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$ - 
Constructor Summary
ConstructorsConstructorDescriptionLocalSnapshotStore(com.typesafe.config.Config config) Deprecated, for removal: This API element is subject to removal in a future version. - 
Method Summary
Modifier and TypeMethodDescriptionscala.concurrent.Future<Void> doDeleteAsync(String persistenceId, SnapshotSelectionCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version.scala.concurrent.Future<Void> doDeleteAsync(SnapshotMetadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.scala.concurrent.Future<Optional<SelectedSnapshot>> doLoadAsync(String persistenceId, SnapshotSelectionCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version.scala.concurrent.Future<Void> doSaveAsync(SnapshotMetadata metadata, Object snapshot) Deprecated, for removal: This API element is subject to removal in a future version.voidpreStart()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.apache.pekko.persistence.snapshot.japi.SnapshotStore
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, deleteAsync, deleteAsync, loadAsync, log, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, org$apache$pekko$actor$ActorLogging$$_log, org$apache$pekko$actor$ActorLogging$$_log_$eq, org$apache$pekko$persistence$snapshot$SnapshotStore$_setter_$org$apache$pekko$persistence$snapshot$SnapshotStore$$breaker_$eq, org$apache$pekko$persistence$snapshot$SnapshotStore$_setter_$org$apache$pekko$persistence$snapshot$SnapshotStore$$extension_$eq, org$apache$pekko$persistence$snapshot$SnapshotStore$_setter_$org$apache$pekko$persistence$snapshot$SnapshotStore$$publish_$eq, org$apache$pekko$persistence$snapshot$SnapshotStore$_setter_$receiveSnapshotStore_$eq, org$apache$pekko$persistence$snapshot$SnapshotStore$$breaker, org$apache$pekko$persistence$snapshot$SnapshotStore$$extension, org$apache$pekko$persistence$snapshot$SnapshotStore$$publish, postRestart, postStop, preRestart, receive, receivePluginInternal, receiveSnapshotStore, saveAsync, self, sender, supervisorStrategy, unhandledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.persistence.snapshot.SnapshotStore
org$apache$pekko$persistence$snapshot$SnapshotStore$$senderPersistentActor, org$apache$pekko$persistence$snapshot$SnapshotStore$$tryReceivePluginInternal 
- 
Constructor Details
- 
LocalSnapshotStore
public LocalSnapshotStore(com.typesafe.config.Config config) Deprecated, for removal: This API element is subject to removal in a future version. 
 - 
 - 
Method Details
- 
preStart
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
 preStartin interfaceActor- Overrides:
 preStartin classSnapshotStore- Throws:
 Exception
 - 
doLoadAsync
public scala.concurrent.Future<Optional<SelectedSnapshot>> doLoadAsync(String persistenceId, SnapshotSelectionCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version. - 
doSaveAsync
Deprecated, for removal: This API element is subject to removal in a future version. - 
doDeleteAsync
Deprecated, for removal: This API element is subject to removal in a future version. - 
doDeleteAsync
public scala.concurrent.Future<Void> doDeleteAsync(String persistenceId, SnapshotSelectionCriteria criteria) Deprecated, for removal: This API element is subject to removal in a future version. 
 -