Class LocalSnapshotStore

java.lang.Object
akka.persistence.snapshot.japi.SnapshotStore
org.opendaylight.controller.cluster.persistence.LocalSnapshotStore
All Implemented Interfaces:
Actor, ActorLogging, SnapshotStore

public final class LocalSnapshotStore extends SnapshotStore
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