+per #3906 use AbstractActor for Java8 Persistence
- also rename and link doc chapter
This commit is contained in:
parent
a0a541eda7
commit
8a0a6d9e13
5 changed files with 8 additions and 6 deletions
|
|
@ -15,3 +15,4 @@ Actors
|
|||
testing
|
||||
lambda-actors
|
||||
lambda-fsm
|
||||
lambda-persistence
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
.. _persistence-lambda-java:
|
||||
|
||||
##########################################
|
||||
Persistence with Java 8 Lambda Expressions
|
||||
##########################################
|
||||
######################################
|
||||
Persistence (Java with Lambda Support)
|
||||
######################################
|
||||
|
||||
|
||||
Akka persistence enables stateful actors to persist their internal state so that it can be recovered when an actor
|
||||
|
|
@ -10,6 +10,7 @@ import scala.collection.immutable
|
|||
|
||||
import akka.japi.{ Procedure, Util }
|
||||
import akka.persistence.JournalProtocol._
|
||||
import akka.actor.AbstractActor
|
||||
|
||||
/**
|
||||
* INTERNAL API.
|
||||
|
|
@ -292,7 +293,7 @@ abstract class UntypedEventsourcedProcessor extends UntypedProcessor with Events
|
|||
* [[PersistentBatch]] messages. In this case an `UnsupportedOperationException` is
|
||||
* thrown by the processor.
|
||||
*/
|
||||
abstract class AbstractEventsourcedProcessor extends EventsourcedProcessor {
|
||||
abstract class AbstractEventsourcedProcessor extends AbstractActor with EventsourcedProcessor {
|
||||
/**
|
||||
* Java API: asynchronously persists `event`. On successful persistence, `handler` is called with the
|
||||
* persisted event. It is guaranteed that no new commands will be received by a processor
|
||||
|
|
|
|||
|
|
@ -444,4 +444,4 @@ abstract class UntypedProcessor extends UntypedActor with Processor
|
|||
* @see [[Recover]]
|
||||
* @see [[PersistentBatch]]
|
||||
*/
|
||||
abstract class AbstractProcessor extends Processor
|
||||
abstract class AbstractProcessor extends AbstractActor with Processor
|
||||
|
|
|
|||
|
|
@ -203,4 +203,4 @@ abstract class UntypedView extends UntypedActor with View
|
|||
*
|
||||
* @see [[View]]
|
||||
*/
|
||||
abstract class AbstractView extends View
|
||||
abstract class AbstractView extends AbstractActor with View
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue