public class ProjectionsImpl extends Object implements Projections
| Constructor and Description |
|---|
ProjectionsImpl(com.lightbend.lagom.internal.projection.ProjectionRegistry registry,
scala.concurrent.ExecutionContext executionContext) |
| 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.
|
public ProjectionsImpl(com.lightbend.lagom.internal.projection.ProjectionRegistry registry,
scala.concurrent.ExecutionContext executionContext)
public CompletionStage<State> getStatus()
ProjectionsgetStatus in interface Projectionspublic void startAllWorkers(String projectionName)
ProjectionsstartAllWorkers in interface Projectionspublic void startWorker(String projectionName, String tagName)
ProjectionsstartWorker in interface Projectionspublic void stopAllWorkers(String projectionName)
ProjectionsstopAllWorkers in interface Projectionspublic void stopWorker(String projectionName, String tagName)
ProjectionsstopWorker in interface Projections