| IReplicatedDataT Interface |
Interface for implementing a state based convergent
replicated data type (CvRDT).
ReplicatedData types must be serializable with an Akka
Serializer. It is highly recommended to implement a serializer with
Protobuf or similar. The built in data types are marked with
IReplicatedDataSerialization and serialized with
[!:ReplicatedDataSerializer].
Serialization of the data types are used in remote messages and also
for creating message digests (SHA-1) to detect changes. Therefore it is
important that the serialization produce the same bytes for the same content.
For example sets and maps should be sorted deterministically in the serialization.
ReplicatedData types should be immutable, i.e. "modifying" methods should return
a new instance.
Namespace:
Akka.DistributedData
Assembly:
Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public interface IReplicatedData<T> : IReplicatedData
where T : IReplicatedData
type IReplicatedData<'T when 'T : IReplicatedData> =
interface
interface IReplicatedData
end
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "T:Akka.DistributedData.IReplicatedData`1"]
Methods See Also