akka.persistence
Class PersistentBatch

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

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

Instructs a Processor to atomically write the contained Persistent messages to the journal. The processor receives the written messages individually as Persistent messages. During recovery, they are also replayed individually.

See Also:
Serialized Form

Constructor Summary
PersistentBatch(scala.collection.immutable.Seq<Persistent> persistentBatch)
           
 
Method Summary
static PersistentBatch create(java.lang.Iterable<Persistent> persistentBatch)
          Java API.
 scala.collection.immutable.Seq<Persistent> persistentBatch()
           
 
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

PersistentBatch

public PersistentBatch(scala.collection.immutable.Seq<Persistent> persistentBatch)
Method Detail

create

public static PersistentBatch create(java.lang.Iterable<Persistent> persistentBatch)
Java API.


persistentBatch

public scala.collection.immutable.Seq<Persistent> persistentBatch()