akka.persistence
Class SnapshotOffer

java.lang.Object
  extended by akka.persistence.SnapshotOffer
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class SnapshotOffer
extends java.lang.Object
implements scala.Product, scala.Serializable

Offers a Processor a previously saved snapshot during recovery. This offer is received before any further replayed messages.

See Also:
Serialized Form

Constructor Summary
SnapshotOffer(SnapshotMetadata metadata, java.lang.Object snapshot)
           
 
Method Summary
 SnapshotMetadata metadata()
           
 java.lang.Object snapshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

SnapshotOffer

public SnapshotOffer(SnapshotMetadata metadata,
                     java.lang.Object snapshot)
Method Detail

metadata

public SnapshotMetadata metadata()

snapshot

public java.lang.Object snapshot()