struct Movie::Persistence::CommitProjection

Included Modules

Defined in:

movie/persistence/protocol.cr

Constructors

Instance Method Summary

Instance methods inherited from module Movie::Persistence::RetryableConnectionRequest(Movie::Persistence::ProjectionCommitResult)

retryable_after_connection_loss? : Bool retryable_after_connection_loss?

Instance methods inherited from module Movie::Persistence::TypedConnectionRequest(Movie::Persistence::ProjectionCommitResult)

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(projection : String, expected_offset : Int64, envelope : ProjectionEnvelope, handler : ProjectionHandler, source : ProjectionSource) #

[View source]

Instance Method Detail

def envelope : ProjectionEnvelope #

[View source]
def execute(connection : BackendConnection) : ProjectionCommitResult #

[View source]
def expected_offset : Int64 #

[View source]
def handler : ProjectionHandler #

[View source]
def id : ProjectionId #

[View source]
def projection : String #

[View source]
def source : ProjectionSource #

[View source]