akka.persistence
Class SnapshotProtocol.SaveSnapshot

java.lang.Object
  extended by akka.persistence.SnapshotProtocol.SaveSnapshot
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
SnapshotProtocol

public static class SnapshotProtocol.SaveSnapshot
extends java.lang.Object
implements scala.Product, scala.Serializable

Instructs snapshot store to save a snapshot.

param: metadata snapshot metadata. param: snapshot snapshot.

See Also:
Serialized Form

Constructor Summary
SnapshotProtocol.SaveSnapshot(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

SnapshotProtocol.SaveSnapshot

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

metadata

public SnapshotMetadata metadata()

snapshot

public java.lang.Object snapshot()