class Coffee::Task
- Coffee::Task
- Reference
- Object
Defined in:
coffee/task.crConstructors
- .new(ipRange : IPAddress, iatas : Array(Tuple(Needle::IATA, Int32)), commandLine : Bool = false, timeout : TimeOut = TimeOut.new, taskExecutionTime : Time::Span | Nil = nil)
- .new(ip_range : String, needles : Array(Tuple(Needle::IATA, Int32)), timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
- .new(ip_range : String, needles : Array(Tuple(Needle::Edge, Int32)), timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
- .new(ip_range : String, needle : Needle::IATA, timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
- .new(ip_range : String, needle : Needle::Edge, timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
Instance Method Summary
- #cache : Coffee::Cache?
- #cache=(value : Cache)
- #edges : Array(Tuple(Needle::Edge, Int32))
- #edges=(edges : Array(Tuple(Needle::Edge, Int32)))
- #finished=(value : Bool)
- #finished?
- #flush_edge
- #flush_total
- #iatas : Array(Tuple(Needle::IATA, Int32))
- #iatas=(iatas : Array(Tuple(Needle::IATA, Int32)))
- #ipRange : IPAddress
- #ipRange=(ipRange : IPAddress)
- #mutex : Mutex
- #mutex=(mutex : Mutex)
- #perform(port : Int32 = 80, method : String = "HEAD")
- #progress : Progress | Nil
- #progress=(progress : Progress | Nil)
- #taskExecutionTime : Time::Span | Nil
- #taskExecutionTime=(taskExecutionTime : Time::Span | Nil)
- #timeout : TimeOut
- #timeout=(timeout : TimeOut)
- #timing : Time::Span?
- #timing=(value : Time::Span)
- #total
- #writer : Coffee::Writer?
- #writer=(value : Writer)
- #writer_close
- #writer_close!
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)
#
def self.new(ip_range : String, needles : Array(Tuple(Needle::IATA, Int32)), timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
#
def self.new(ip_range : String, needles : Array(Tuple(Needle::Edge, Int32)), timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
#
def self.new(ip_range : String, needle : Needle::IATA, timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
#
def self.new(ip_range : String, needle : Needle::Edge, timeout : TimeOut = TimeOut.new, task_execution_time : Time::Span | Nil = nil)
#