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()
Projections
getStatus
in interface Projections
public void startAllWorkers(String projectionName)
Projections
startAllWorkers
in interface Projections
public void startWorker(String projectionName, String tagName)
Projections
startWorker
in interface Projections
public void stopAllWorkers(String projectionName)
Projections
stopAllWorkers
in interface Projections
public void stopWorker(String projectionName, String tagName)
Projections
stopWorker
in interface Projections