struct
Movie::Persistence::AppendEvents
- Movie::Persistence::AppendEvents
- Struct
- Value
- Object
Included Modules
Defined in:
movie/persistence/protocol.crConstructors
Instance Method Summary
- #events : Array(SerializedEvent)
- #execute(connection : BackendConnection) : WriteResult
- #expected_revision : Int64
- #fence : ShardLeaseToken | Nil
- #operation_id : OperationId
- #outbox : Array(OutboxEntry)
- #persistence_id : String
Instance methods inherited from module Movie::Persistence::RetryableConnectionRequest(Movie::Persistence::WriteResult)
retryable_after_connection_loss? : Bool
retryable_after_connection_loss?
Instance methods inherited from module Movie::Persistence::TypedConnectionRequest(Movie::Persistence::WriteResult)
dispatch(worker : ConnectionWorker, sender : Movie::ActorRefBase | Nil) : Nil
dispatch,
execute(connection : BackendConnection) : T
execute,
retryable_after_connection_loss? : Bool
retryable_after_connection_loss?
Instance methods inherited from module Movie::Persistence::ConnectionRequest
dispatch(worker : ConnectionWorker, sender : Movie::ActorRefBase | Nil) : Nil
dispatch
Constructor Detail
def self.new(persistence_id : String, expected_revision : Int64, operation_id : OperationId, events : Array(SerializedEvent), outbox : Array(OutboxEntry) = [] of OutboxEntry, fence : ShardLeaseToken | Nil = nil)
#