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

create

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

Parameters:
persistentBatch - (undocumented)
Returns:
(undocumented)

batch

public scala.collection.immutable.Seq<Resequenceable> batch()