class ProjectionManagement extends Extension
- Alphabetic
- By Inheritance
- ProjectionManagement
- Extension
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ProjectionManagement(system: ActorSystem[_])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearOffset(projectionId: ProjectionId): Future[Done]
Clear the stored offset for the
projectionId
and restart theProjection
.Clear the stored offset for the
projectionId
and restart theProjection
. This can be useful if the projection should be completely rebuilt, starting over again from the first offset. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getOffset[Offset](projectionId: ProjectionId): Future[Option[Offset]]
Get the latest stored offset for the
projectionId
. - def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPaused(projectionId: ProjectionId): Future[Boolean]
Is the given Projection paused or not?
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def pause(projectionId: ProjectionId): Future[Done]
Pause the given Projection.
Pause the given Projection. Processing will be stopped. While the Projection is paused other management operations can be performed, such as ProjectionManagement.updateOffset. The Projection can be resumed with ProjectionManagement.resume.
The paused/resumed state is stored and, and it is read when the Projections are started, for example in case of rebalance or system restart.
- def resume(projectionId: ProjectionId): Future[Done]
Resume a paused Projection.
Resume a paused Projection. Processing will be start from previously stored offset.
The paused/resumed state is stored and, and it is read when the Projections are started, for example in case of rebalance or system restart.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateOffset[Offset](projectionId: ProjectionId, offset: Offset): Future[Done]
Update the stored offset for the
projectionId
and restart theProjection
.Update the stored offset for the
projectionId
and restart theProjection
. This can be useful if the projection was stuck with errors on a specific offset and should skip that offset and continue with next. Note that when the projection is restarted it will continue from the next offset that is greater than the stored offset. - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])