public static final class Replicator.GetSuccess<A extends ReplicatedData> extends Replicator.GetResponse<A> implements Replicator.ReplicatorMessage, scala.Product, scala.Serializable
Get
. The data value is retrieved with get(akka.cluster.ddata.Key<T>)
using the typed key.Constructor and Description |
---|
GetSuccess(Key<A> key,
scala.Option<java.lang.Object> request,
A data) |
Modifier and Type | Method and Description |
---|---|
A |
dataValue()
The data value.
|
<T extends ReplicatedData> |
get(Key<T> key)
The data value, with correct type.
|
Key<A> |
key() |
scala.Option<java.lang.Object> |
request() |
getRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Key<A> key()
key
in class Replicator.GetResponse<A extends ReplicatedData>
public scala.Option<java.lang.Object> request()
request
in class Replicator.GetResponse<A extends ReplicatedData>
public <T extends ReplicatedData> T get(Key<T> key)
key
parameter.key
- (undocumented)public A dataValue()
get(akka.cluster.ddata.Key<T>)
to get the fully typed value.