Class: Falqon::Queue::Metadata
- Inherits:
-
T::Struct
- Object
- T::Struct
- Falqon::Queue::Metadata
- Defined in:
- lib/falqon/queue.rb
Overview
Queue metadata
Instance Attribute Summary collapse
-
#created_at ⇒ Integer
Timestamp of creation.
-
#failed ⇒ Integer
Total number of messages failed.
-
#processed ⇒ Integer
Total number of messages processed.
-
#retried ⇒ Integer
Total number of messages retried.
-
#updated_at ⇒ Integer
Timestamp of last update.
-
#version ⇒ Integer
Protocol version.
Instance Method Summary collapse
- #initialize(processed: 0, failed: 0, retried: 0, created_at:, updated_at:, version:) ⇒ void constructor
Constructor Details
#initialize(processed: 0, failed: 0, retried: 0, created_at:, updated_at:, version:) ⇒ void
|
# File '' prop :processed, Integer, default: 0 prop :failed, Integer, default: 0 prop :retried, Integer, default: 0 prop :created_at, Integer prop :updated_at, Integer prop :version, Integer |
Instance Attribute Details
#created_at ⇒ Integer
Timestamp of creation
|
# File '' prop :created_at, Integer |
#failed ⇒ Integer
Total number of messages failed
|
# File '' prop :failed, Integer, default: 0 |
#processed ⇒ Integer
Total number of messages processed
|
# File '' prop :processed, Integer, default: 0 |
#retried ⇒ Integer
Total number of messages retried
|
# File '' prop :retried, Integer, default: 0 |
#updated_at ⇒ Integer
Timestamp of last update
|
# File '' prop :updated_at, Integer |
#version ⇒ Integer
Protocol version
|
# File '' prop :version, Integer |