Class Replicator.Get$
- java.lang.Object
-
- akka.cluster.ddata.typed.scaladsl.Replicator.Get$
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Serializable
- Enclosing class:
- Replicator
public static class Replicator.Get$ extends java.lang.Object implements scala.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Replicator.Get$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Get$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends ReplicatedData>
scala.Option<java.lang.Object>$lessinit$greater$default$4()
Send this message to the localReplicator
to retrieve a data value for the givenkey
.<A extends ReplicatedData>
scala.Function1<ActorRef<Replicator.GetResponse<A>>,Replicator.Get<A>>apply(Key<A> key, Replicator.ReadConsistency consistency)
<A extends ReplicatedData>
Replicator.Get<A>apply(Key<A> key, Replicator.ReadConsistency consistency, ActorRef<Replicator.GetResponse<A>> replyTo, scala.Option<java.lang.Object> request)
<A extends ReplicatedData>
scala.Option<java.lang.Object>apply$default$4()
Send this message to the localReplicator
to retrieve a data value for the givenkey
.<A extends ReplicatedData>
scala.Option<scala.Tuple4<Key<A>,Replicator.ReadConsistency,ActorRef<Replicator.GetResponse<A>>,scala.Option<java.lang.Object>>>unapply(Replicator.Get<A> x$0)
-
-
-
Field Detail
-
MODULE$
public static final Replicator.Get$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
$lessinit$greater$default$4
public <A extends ReplicatedData> scala.Option<java.lang.Object> $lessinit$greater$default$4()
Send this message to the localReplicator
to retrieve a data value for the givenkey
. TheReplicator
will reply with one of theGetResponse
messages.The optional
request
context is included in the reply messages. This is a convenient way to pass contextual information (e.g. original sender) without having to useask
or maintain local correlation data structures.- Returns:
- (undocumented)
-
apply
public <A extends ReplicatedData> scala.Function1<ActorRef<Replicator.GetResponse<A>>,Replicator.Get<A>> apply(Key<A> key, Replicator.ReadConsistency consistency)
-
apply$default$4
public <A extends ReplicatedData> scala.Option<java.lang.Object> apply$default$4()
Send this message to the localReplicator
to retrieve a data value for the givenkey
. TheReplicator
will reply with one of theGetResponse
messages.The optional
request
context is included in the reply messages. This is a convenient way to pass contextual information (e.g. original sender) without having to useask
or maintain local correlation data structures.- Returns:
- (undocumented)
-
apply
public <A extends ReplicatedData> Replicator.Get<A> apply(Key<A> key, Replicator.ReadConsistency consistency, ActorRef<Replicator.GetResponse<A>> replyTo, scala.Option<java.lang.Object> request)
-
unapply
public <A extends ReplicatedData> scala.Option<scala.Tuple4<Key<A>,Replicator.ReadConsistency,ActorRef<Replicator.GetResponse<A>>,scala.Option<java.lang.Object>>> unapply(Replicator.Get<A> x$0)
-
-