class Task::Fetch::Hashtag::State

Overview

Implements a prioritized queue of nodes on the search horizon.

Included Modules

Defined in:

models/task/fetch/hashtag.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new #

[View source]

Instance Method Detail

def <<(node : Node) #

[View source]
def cache : Array(String) | Nil #

Cached objects.


[View source]
def cache=(cache : Array(String) | Nil) #

Cached objects.


[View source]
def cached_collection : String | Nil #

Collection for which objects are cached.


[View source]
def cached_collection=(cached_collection : String | Nil) #

Collection for which objects are cached.


[View source]
def failures : Int32 #

Count of successive failures to fetch new objects.


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

Count of successive failures to fetch new objects.


[View source]
def includes?(node : Node) #

[View source]
def last_success_at #

[View source]

[View source]

[View source]
def prioritize! #

[View source]