GetSuccess

org.apache.pekko.cluster.ddata.Replicator$.GetSuccess
final case class GetSuccess[A <: ReplicatedData](key: Key[A], request: Option[Any])(data: A) extends GetResponse[A], ReplicatorMessage

Reply from Get. The data value is retrieved with get using the typed key.

Attributes

Source
Replicator.scala
Graph
Supertypes
trait Product
trait Equals
trait Serializable
class GetResponse[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def dataValue: A

The data value. Use get to get the fully typed value.

The data value. Use get to get the fully typed value.

Attributes

Source
Replicator.scala
def get[T <: ReplicatedData](key: Key[T]): T

The data value, with correct type. Scala pattern matching cannot infer the type from the key parameter.

The data value, with correct type. Scala pattern matching cannot infer the type from the key parameter.

Attributes

Source
Replicator.scala

Inherited methods

def getRequest: Optional[Any]

Java API

Java API

Attributes

Inherited from:
GetResponse
Source
Replicator.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product