class Task::Fetch::Hashtag::State
- Task::Fetch::Hashtag::State
- Reference
- Object
Overview
Implements a prioritized queue of nodes on the search horizon.
Included Modules
- JSON::Serializable
Defined in:
models/task/fetch/hashtag.crConstructors
Instance Method Summary
- #<<(node : Node)
-
#cache : Array(String) | Nil
Cached objects.
-
#cache=(cache : Array(String) | Nil)
Cached objects.
-
#cached_collection : String | Nil
Collection for which objects are cached.
-
#cached_collection=(cached_collection : String | Nil)
Collection for which objects are cached.
-
#failures : Int32
Count of successive failures to fetch new objects.
-
#failures=(failures : Int32)
Count of successive failures to fetch new objects.
- #includes?(node : Node)
- #last_success_at
- #nodes : Array(Task::Fetch::Hashtag::State::Node)
- #nodes=(nodes : Array(Task::Fetch::Hashtag::State::Node))
- #prioritize!