in core/src/main/scala/org/apache/pekko/projection/Projection.scala [47:108]
def withRestartBackoff(
minBackoff: FiniteDuration,
maxBackoff: FiniteDuration,
randomFactor: Double): Projection[Envelope]
def withRestartBackoff(
minBackoff: FiniteDuration,
maxBackoff: FiniteDuration,
randomFactor: Double,
maxRestarts: Int): Projection[Envelope]
/**
* Java API
*/
def withRestartBackoff(
minBackoff: java.time.Duration,
maxBackoff: java.time.Duration,
randomFactor: Double): Projection[Envelope]
/**
* Java API
*/
def withRestartBackoff(
minBackoff: java.time.Duration,
maxBackoff: java.time.Duration,
randomFactor: Double,
maxRestarts: Int): Projection[Envelope]
def statusObserver: StatusObserver[Envelope]
def withStatusObserver(observer: StatusObserver[Envelope]): Projection[Envelope]
/**
* INTERNAL API
*
* This method returns the projection Source mapped with user 'handler' function, but before any sink attached.
* This is mainly intended to be used by the TestKit allowing it to attach a TestSink to it.
*/
@InternalApi
private[projection] def mappedSource()(implicit system: ActorSystem[_]): Source[Done, Future[Done]]
/**
* INTERNAL API
*/
@InternalApi private[projection] def actorHandlerInit[T]: Option[ActorHandlerInit[T]]
/**
* INTERNAL API
* Return a RunningProjection
*/
@InternalApi
private[projection] def run()(implicit system: ActorSystem[_]): RunningProjection
}
/**
* INTERNAL API
*
* Helper to wrap the projection source with a RestartSource using the provided settings.
*/
@InternalApi
private[projection] object RunningProjection {