Class: Cassandra::Execution::Trace::Event
- Inherits:
-
Object
- Object
- Cassandra::Execution::Trace::Event
- Defined in:
- lib/cassandra/execution/trace.rb
Instance Attribute Summary collapse
-
#activity ⇒ String
readonly
Description of activity.
-
#id ⇒ Cassandra::Uuid
readonly
Event uuid.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#source_elapsed ⇒ Object
readonly
Returns the value of attribute source_elapsed.
-
#thread ⇒ Object
readonly
Returns the value of attribute thread.
Instance Method Summary collapse
- #==(other) ⇒ Object (also: #eql?)
Instance Attribute Details
#activity ⇒ String (readonly)
Returns description of activity.
27 28 29 |
# File 'lib/cassandra/execution/trace.rb', line 27 def activity @activity end |
#id ⇒ Cassandra::Uuid (readonly)
Returns event uuid.
24 25 26 |
# File 'lib/cassandra/execution/trace.rb', line 24 def id @id end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
29 30 31 |
# File 'lib/cassandra/execution/trace.rb', line 29 def source @source end |
#source_elapsed ⇒ Object (readonly)
Returns the value of attribute source_elapsed.
30 31 32 |
# File 'lib/cassandra/execution/trace.rb', line 30 def source_elapsed @source_elapsed end |
#thread ⇒ Object (readonly)
Returns the value of attribute thread.
31 32 33 |
# File 'lib/cassandra/execution/trace.rb', line 31 def thread @thread end |
Instance Method Details
#==(other) ⇒ Object Also known as: eql?
42 43 44 |
# File 'lib/cassandra/execution/trace.rb', line 42 def ==(other) other == @id end |