public final class State extends Object implements ProjectionSerializable
param: projections list of available projections on the internal registry
Constructor and Description |
---|
State(scala.collection.Seq<Projection> projections) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
static State |
fromReplicatedData(scala.collection.immutable.Map<String,scala.collection.immutable.Set<com.lightbend.lagom.internal.projection.ProjectionRegistryActor.WorkerCoordinates>> nameIndex,
scala.collection.immutable.Map<com.lightbend.lagom.internal.projection.ProjectionRegistryActor.WorkerCoordinates,Status> requestedStatusLocalCopy,
scala.collection.immutable.Map<com.lightbend.lagom.internal.projection.ProjectionRegistryActor.WorkerCoordinates,Status> observedStatusLocalCopy,
Status defaultRequested,
Status defaultObserved) |
List<Projection> |
getProjections()
Java API
|
int |
hashCode() |
scala.collection.Seq<Projection> |
projections() |
String |
toString() |
public State(scala.collection.Seq<Projection> projections)
public static State fromReplicatedData(scala.collection.immutable.Map<String,scala.collection.immutable.Set<com.lightbend.lagom.internal.projection.ProjectionRegistryActor.WorkerCoordinates>> nameIndex, scala.collection.immutable.Map<com.lightbend.lagom.internal.projection.ProjectionRegistryActor.WorkerCoordinates,Status> requestedStatusLocalCopy, scala.collection.immutable.Map<com.lightbend.lagom.internal.projection.ProjectionRegistryActor.WorkerCoordinates,Status> observedStatusLocalCopy, Status defaultRequested, Status defaultObserved)
public scala.collection.Seq<Projection> projections()
public List<Projection> getProjections()