Package com.akkaserverless.javasdk.replicatedentity
Replicated Entity support.
The data stored by a replicated entity can be stored in a subtype of ReplicatedData
. These can be created using a ReplicatedDataFactory
.
-
Interface Summary Interface Description CommandContext Command context for Replicated Entity.ReplicatedCounter A counter that can be incremented and decremented.ReplicatedCounterMap<K> A Map of counters.ReplicatedDataFactory Factory for creating Replicated Data objects.ReplicatedEntity.Effect<R> A return type to allow returning forwards or failures, and attaching effects to messages.ReplicatedEntity.Effect.Builder<D> Construct the effect that is returned by the command handler.ReplicatedEntity.Effect.OnSuccessBuilder ReplicatedEntityContext Root context for all Replicated Entity contexts.ReplicatedEntityOptions Root entity options for all Replicated Entities.ReplicatedEntityProvider<D extends com.akkaserverless.replicatedentity.ReplicatedData,E extends ReplicatedEntity<D>> Register a value based entity inAkkaServerless
using aReplicatedEntityProvider
.ReplicatedMap<K,V extends com.akkaserverless.replicatedentity.ReplicatedData> A Replicated Map that allows both the addition and removal ofReplicatedData
objects.ReplicatedMultiMap<K,V> A replicated map that maps keys to values, where each key may be associated with multiple values.ReplicatedRegister<T> A Last-Write-Wins Register.ReplicatedRegisterMap<K,V> A Map of registers.ReplicatedSet<E> A Replicated Set that allows both the addition and removal of elements in a set.ReplicatedVote A Vote replicated data type. -
Class Summary Class Description ReplicatedCounterEntity ReplicatedCounterMapEntity<K> ReplicatedEntity<D extends com.akkaserverless.replicatedentity.ReplicatedData> ReplicatedMapEntity<K,V extends com.akkaserverless.replicatedentity.ReplicatedData> ReplicatedMultiMapEntity<K,V> ReplicatedRegisterEntity<T> ReplicatedRegisterMapEntity<K,V> ReplicatedSetEntity<T> ReplicatedVoteEntity -
Enum Summary Enum Description ReplicatedRegister.Clock Clock for register replicationWriteConsistency Write consistency setting for replication of state updates for Replicated Entities.