class

JobFactory

Inherits Reference < Object

Constants

TTL = ENV["DEFAULT_TTL"]? || 3600

Constructors

new(data : Hash(String, String), tube : String, priority : Int32)
Source

Class methods

build_job_factory_from_hash(data : JSON::Any)
Source
normalize_json_hash(json_hash : JSON::Any)
Source
to_hash(job)
Source

Instance methods

body
Source
body=(body : String)
Source
created_time
Source
created_time=(created_time : Int64)
Source
expired_limit
Source
expired_limit=(expired_limit : Int32)
Source
expireds
Source
expireds=(expireds : Int32)
Source
get_job
Source
id=(id : String)
Source
noop
Source
noop=(noop : Bool)
Source
parent_id
Source
parent_id=(parent_id : String)
Source
priority
Source
priority=(priority : Int32)
Source
releases
Source
releases=(releases : Int32)
Source
reserved
Source
reserved=(reserved : Bool)
Source
ttl=(ttl : Int32)
Source
tube
Source
tube=(tube : String)
Source