Class AbstractEventsByPersistenceIdPublisher
- java.lang.Object
-
- akka.persistence.query.journal.leveldb.AbstractEventsByPersistenceIdPublisher
-
- All Implemented Interfaces:
Actor,ActorLogging,DeliveryBuffer<EventEnvelope>,ActorPublisher<EventEnvelope>
- Direct Known Subclasses:
CurrentEventsByPersistenceIdPublisher,LiveEventsByPersistenceIdPublisher
public abstract class AbstractEventsByPersistenceIdPublisher extends java.lang.Object implements ActorPublisher<EventEnvelope>, DeliveryBuffer<EventEnvelope>, ActorLogging
INTERNAL API
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
Nested classes/interfaces inherited from interface akka.stream.actor.ActorPublisher
ActorPublisher.Internal$
-
-
Constructor Summary
Constructors Constructor Description AbstractEventsByPersistenceIdPublisher(java.lang.String persistenceId, long fromSequenceNr, int maxBufSize, java.lang.String writeJournalPluginId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidakka$actor$Actor$_setter_$context_$eq(ActorContext x$1)protected voidakka$actor$Actor$_setter_$self_$eq(ActorRef x$1)The 'self' field holds the ActorRef for this actor.scala.collection.immutable.Vector<EventEnvelope>buf()voidbuf_$eq(scala.collection.immutable.Vector<EventEnvelope> x$1)ActorContextcontext()Scala API: Stores the context for this actor, including self, and sender.longcurrSeqNo()voidcurrSeqNo_$eq(long x$1)longfromSequenceNr()scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>idle()scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>init()ActorRefjournal()intmaxBufSize()java.lang.StringpersistenceId()scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>receive()Scala API: This defines the initial actor behavior, it must return a partial function with the actor logic.abstract voidreceiveIdleRequest()abstract voidreceiveInitialRequest()abstract voidreceiveRecoverySuccess(long highestSeqNr)voidreplay()scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>replaying(int limit)ActorRefself()The 'self' field holds the ActorRef for this actor.booleantimeForReplay()abstract longtoSequenceNr()java.lang.StringwriteJournalPluginId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.actor.Actor
postRestart, postStop, preRestart, preStart, sender, supervisorStrategy, unhandled
-
Methods inherited from interface akka.actor.ActorLogging
_log_$eq, log
-
Methods inherited from interface akka.stream.actor.ActorPublisher
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, cancelSelf, demand_$eq, isActive, isCanceled, isCompleted, isErrorEmitted, lifecycleState_$eq, onComplete, onCompleteThenStop, onError, onErrorThenStop, onNext, scheduledSubscriptionTimeout_$eq, subscriber_$eq, subscriptionTimeout, super$aroundPostRestart, super$aroundPostStop, super$aroundPreRestart, super$aroundPreStart, super$aroundReceive, totalDemand
-
Methods inherited from interface akka.persistence.query.journal.leveldb.DeliveryBuffer
deliverBuf
-
-
-
-
Method Detail
-
akka$actor$Actor$_setter_$context_$eq
protected void akka$actor$Actor$_setter_$context_$eq(ActorContext x$1)
- Specified by:
akka$actor$Actor$_setter_$context_$eqin interfaceActor
-
akka$actor$Actor$_setter_$self_$eq
protected final void akka$actor$Actor$_setter_$self_$eq(ActorRef x$1)
Description copied from interface:ActorThe 'self' field holds the ActorRef for this actor. Can be used to send messages to itself:self ! message
- Specified by:
akka$actor$Actor$_setter_$self_$eqin interfaceActor- Parameters:
x$1- (undocumented)
-
buf
public scala.collection.immutable.Vector<EventEnvelope> buf()
- Specified by:
bufin interfaceDeliveryBuffer<EventEnvelope>
-
buf_$eq
public void buf_$eq(scala.collection.immutable.Vector<EventEnvelope> x$1)
- Specified by:
buf_$eqin interfaceDeliveryBuffer<EventEnvelope>
-
context
public ActorContext context()
Description copied from interface:ActorScala API: Stores the context for this actor, including self, and sender. It is implicit to support operations such asforward.WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
ActorContextis the Scala API.getContextreturns aAbstractActor.ActorContext, which is the Java API of the actor context.
-
currSeqNo
public long currSeqNo()
-
currSeqNo_$eq
public void currSeqNo_$eq(long x$1)
-
fromSequenceNr
public long fromSequenceNr()
-
idle
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> idle()
-
init
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> init()
-
journal
public ActorRef journal()
-
maxBufSize
public int maxBufSize()
-
persistenceId
public java.lang.String persistenceId()
-
receive
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Description copied from interface:ActorScala API: This defines the initial actor behavior, it must return a partial function with the actor logic.
-
receiveIdleRequest
public abstract void receiveIdleRequest()
-
receiveInitialRequest
public abstract void receiveInitialRequest()
-
receiveRecoverySuccess
public abstract void receiveRecoverySuccess(long highestSeqNr)
-
replay
public void replay()
-
replaying
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> replaying(int limit)
-
self
public final ActorRef self()
Description copied from interface:ActorThe 'self' field holds the ActorRef for this actor. Can be used to send messages to itself:self ! message
-
timeForReplay
public boolean timeForReplay()
-
toSequenceNr
public abstract long toSequenceNr()
-
writeJournalPluginId
public java.lang.String writeJournalPluginId()
-
-