@ApiMayChange
public interface Projections
State
of each projection. A projections is a process consuming an Akka Persistence Journal handling
each event into a read table or a broker topic. In Lagom the term projection only refers to
ReadSideProcessor
's and TopicProducers
's (not Broker subscribers). This
is different than the meaning of projection in akka/akka-projection.
See also https://www.lagomframework.com/documentation/latest/java/Projections.html
Modifier and Type | Method and Description |
---|---|
CompletionStage<State> |
getStatus()
Read an eventually consistent copy of the projections and workers running on the service.
|
void |
startAllWorkers(String projectionName)
Given a `projectionName`, request all its workers to start.
|
void |
startWorker(String projectionName,
String tagName)
Given a `projectionName` and a `tagName` request a single worker to start.
|
void |
stopAllWorkers(String projectionName)
Given a `projectionName`, request all its workers to stop.
|
void |
stopWorker(String projectionName,
String tagName)
Given a `projectionName` and a `tagName` request a single worker to stop.
|
CompletionStage<State> getStatus()
void stopAllWorkers(String projectionName)
void stopWorker(String projectionName, String tagName)
void startAllWorkers(String projectionName)
void startWorker(String projectionName, String tagName)