Class: Cassandra::Execution::Trace::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/cassandra/execution/trace.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#activityString (readonly)

Returns description of activity.

Returns:

  • (String)

    description of activity



27
28
29
# File 'lib/cassandra/execution/trace.rb', line 27

def activity
  @activity
end

#idCassandra::Uuid (readonly)

Returns event uuid.

Returns:



24
25
26
# File 'lib/cassandra/execution/trace.rb', line 24

def id
  @id
end

#sourceObject (readonly)

Returns the value of attribute source.



29
30
31
# File 'lib/cassandra/execution/trace.rb', line 29

def source
  @source
end

#source_elapsedObject (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

#threadObject (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