class Coffee::Task

Defined in:

coffee/task.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ipRange : IPAddress, iatas : Array(Tuple(Needle::IATA, Int32)), commandLine : Bool = false, timeout : TimeOut = TimeOut.new, taskExecutionTime : Time::Span | Nil = nil) #

[View source]
def self.new(ip_range : String, needles : Array(Tuple(Needle::IATA, Int32)), timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil) #

[View source]
def self.new(ip_range : String, needles : Array(Tuple(Needle::Edge, Int32)), timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil) #

[View source]
def self.new(ip_range : String, needle : Needle::IATA, timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil) #

[View source]
def self.new(ip_range : String, needle : Needle::Edge, timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil) #

[View source]

Instance Method Detail

def cache : Coffee::Cache? #

[View source]
def cache=(value : Cache) #

[View source]
def edges : Array(Tuple(Needle::Edge, Int32)) #

[View source]
def edges=(edges : Array(Tuple(Needle::Edge, Int32))) #

[View source]
def finished=(value : Bool) #

[View source]
def finished? #

[View source]
def flush_edge #

[View source]
def flush_total #

[View source]
def iatas : Array(Tuple(Needle::IATA, Int32)) #

[View source]
def iatas=(iatas : Array(Tuple(Needle::IATA, Int32))) #

[View source]
def ipRange : IPAddress #

[View source]
def ipRange=(ipRange : IPAddress) #

[View source]
def mutex : Mutex #

[View source]
def mutex=(mutex : Mutex) #

[View source]
def perform(port : Int32 = 80, method : String = "HEAD") #

[View source]
def progress : Progress | Nil #

[View source]
def progress=(progress : Progress | Nil) #

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

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

[View source]
def timeout : TimeOut #

[View source]
def timeout=(timeout : TimeOut) #

[View source]
def timing : Time::Span? #

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

[View source]
def total #

[View source]
def writer : Coffee::Writer? #

[View source]
def writer=(value : Writer) #

[View source]
def writer_close #

[View source]
def writer_close! #

[View source]