Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface scala.Function1

        scala.Function1.UnliftOps<A extends java.lang.Object,​B extends java.lang.Object>, scala.Function1.UnliftOps$
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final ReplicaId$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • ReplicaId$

        public ReplicaId$()
    • 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 interface scala.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.