final class ReplicationSettings[Command] extends AnyRef
Not for user extension, construct using ReplicationSettings#create
- Annotations
- @ApiMayChange() @DoNotInherit()
- Source
- ReplicationSettings.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReplicationSettings
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def configureEntity(configure: Function[Entity[Command, ShardingEnvelope[Command]], Entity[Command, ShardingEnvelope[Command]]]): ReplicationSettings[Command]
Allows for changing the settings of the replicated entity, such as stop message, passivation strategy etc.
- val configureEntity: Function[Entity[Command, ShardingEnvelope[Command]], Entity[Command, ShardingEnvelope[Command]]]
- val entityEventReplicationTimeout: Duration
- val entityTypeKey: EntityTypeKey[Command]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val eventProducerInterceptor: Optional[EventProducerInterceptor]
- val eventProducerSettings: EventProducerSettings
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val otherReplicas: Set[Replica]
- val parallelUpdates: Int
- val replicationProjectionProvider: ReplicationProjectionProvider
- val selfReplicaId: ReplicaId
- val streamId: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ReplicationSettings → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEntityEventReplicationTimeout(duration: Duration): ReplicationSettings[Command]
Set the timeout for events being completely processed after arriving to a node in the replication stream
- def withEventProducerInterceptor(interceptor: EventProducerInterceptor): ReplicationSettings[Command]
Add an interceptor to the gRPC event producer for example for authentication of incoming requests
- def withEventProducerSettings(eventProducerSettings: EventProducerSettings): ReplicationSettings[Command]
- def withOtherReplicas(otherReplicas: Set[Replica]): ReplicationSettings[Command]
- def withParallelUpdates(parallelUpdates: Int): ReplicationSettings[Command]
Run up to this many parallel updates over sharding.
Run up to this many parallel updates over sharding. Note however that updates for the same persistence id is always sequential.
- def withProjectionProvider(projectionProvider: ReplicationProjectionProvider): ReplicationSettings[Command]
Change projection provider
- def withSelfReplicaId(selfReplicaId: ReplicaId): ReplicationSettings[Command]
- def withStreamId(streamId: String): ReplicationSettings[Command]