Package akka.persistence.typed
Class ReplicaId$
- java.lang.Object
-
- scala.runtime.AbstractFunction1<java.lang.String,ReplicaId>
-
- akka.persistence.typed.ReplicaId$
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Function1<java.lang.String,ReplicaId>
public class ReplicaId$ extends scala.runtime.AbstractFunction1<java.lang.String,ReplicaId> implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicaId$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ReplicaId$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaId
apply(java.lang.String id)
ReplicaId
empty()
When migrating from non-replicated to replicated the ReplicaId of where the original entity was located should be empty.scala.Option<java.lang.String>
unapply(ReplicaId x$0)
Identifies a replica in Replicated Event Sourcing, could be a datacenter name or a logical identifier.-
Methods inherited from class scala.runtime.AbstractFunction1
andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString
-
-
-
-
Field Detail
-
MODULE$
public static final ReplicaId$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
empty
public ReplicaId empty()
When migrating from non-replicated to replicated the ReplicaId of where the original entity was located should be empty.
-
apply
public ReplicaId apply(java.lang.String id)
- Specified by:
apply
in interfacescala.Function1<java.lang.String,ReplicaId>
-
unapply
public scala.Option<java.lang.String> unapply(ReplicaId x$0)
Identifies a replica in Replicated Event Sourcing, could be a datacenter name or a logical identifier.
-
-