struct Topia::ConcurrentExecutor::TaskJob

Defined in:

topia/concurrent_executor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(task : Task, priority : Int32 = 0, estimated_duration : Time::Span = 1.second, max_retries : Int32 = 0) #

[View source]

Instance Method Detail

def completed_at : Time | Nil #

[View source]
def completed_at=(completed_at : Time | Nil) #

[View source]
def dependencies_resolved : Bool #

[View source]
def dependencies_resolved=(dependencies_resolved : Bool) #

[View source]
def duration : Time::Span | Nil #

[View source]
def estimated_duration : Time::Span #

[View source]
def estimated_duration=(estimated_duration : Time::Span) #

[View source]
def max_retries : Int32 #

[View source]
def max_retries=(max_retries : Int32) #

[View source]
def priority : Int32 #

[View source]
def priority=(priority : Int32) #

[View source]
def retry_count : Int32 #

[View source]
def retry_count=(retry_count : Int32) #

[View source]
def started_at : Time | Nil #

[View source]
def started_at=(started_at : Time | Nil) #

[View source]
def task : Task #

[View source]
def task=(task : Task) #

[View source]