akka.persistence
Class SelectedSnapshot

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

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

Plugin API: a selected snapshot matching SnapshotSelectionCriteria.

See Also:
Serialized Form

Constructor Summary
SelectedSnapshot(SnapshotMetadata metadata, java.lang.Object snapshot)
           
 
Method Summary
static SelectedSnapshot create(SnapshotMetadata metadata, java.lang.Object snapshot)
          Java API, Plugin API.
 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

SelectedSnapshot

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

create

public static SelectedSnapshot create(SnapshotMetadata metadata,
                                      java.lang.Object snapshot)
Java API, Plugin API.


metadata

public SnapshotMetadata metadata()

snapshot

public java.lang.Object snapshot()