Class Update

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

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

Instructs a View to update itself. This will run a single incremental message replay with all messages from the corresponding processor's journal that have not yet been consumed by the view. To update a view with messages that have been written after handling this request, another Update request must be sent to the view.

See Also:
Serialized Form

Constructor Summary
Update(boolean await, long replayMax)
Method Summary
 boolean await()
static Update create()
          Java API.
static Update create(boolean await)
          Java API.
static Update create(boolean await, long replayMax)
          Java API.
 long replayMax()
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


public Update(boolean await,
              long replayMax)
Method Detail


public static Update create()
Java API.


public static Update create(boolean await)
Java API.


public static Update create(boolean await,
                            long replayMax)
Java API.


public boolean await()


public long replayMax()