Package akka.persistence.typed.scaladsl
Interface ReplicationInterceptor<State,Event>
-
public interface ReplicationInterceptor<State,Event>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.concurrent.Future<Done>
intercept(State state, Event event, ReplicaId originReplica, long sequenceNumber)
-
-
-
Method Detail
-
intercept
scala.concurrent.Future<Done> intercept(State state, Event event, ReplicaId originReplica, long sequenceNumber)
- Parameters:
state
- Current stateevent
- The replicated eventoriginReplica
- The replica where the event came fromsequenceNumber
- The local sequence number the event will get when persisted- Returns:
-
-