struct Movie::Persistence::QueryEvents

Included Modules

Defined in:

movie/persistence/protocol.cr

Constructors

Instance Method Summary

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

retryable_after_connection_loss? : Bool retryable_after_connection_loss?

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

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(after_offset : Int64, limit : Int32 = 100, persistence_id : String | Nil = nil) #

[View source]

Instance Method Detail

def after_offset : Int64 #

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

[View source]
def limit : Int32 #

[View source]
def persistence_id : String | Nil #

[View source]