+per #3906 use AbstractActor for Java8 Persistence

- also rename and link doc chapter
This commit is contained in:
Roland Kuhn 2014-03-04 16:09:52 +01:00
parent a0a541eda7
commit 8a0a6d9e13
5 changed files with 8 additions and 6 deletions

View file

@ -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