class Task::Fetch::Thread::State::Node

Overview

A node in the prioritized queue.

Included Modules

Defined in:

models/task/fetch/thread.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(id : Int64, last_attempt_at : Time = Time::UNIX_EPOCH, last_success_at : Time = Time::UNIX_EPOCH) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def delta #

[View source]
def id : Int64 #

[View source]
def id=(id : Int64) #

[View source]
def last_attempt_at : Time #

[View source]
def last_attempt_at=(last_attempt_at : Time) #

[View source]
def last_success_at : Time #

[View source]
def last_success_at=(last_success_at : Time) #

[View source]