Class: Agent::Sessions::Compaction

Inherits:
Data
  • Object
show all
Defined in:
lib/agent/sessions/compaction.rb

Overview

A point where the agent replaced earlier turns with a summary. Not a message: its own payload restates turns already yielded, so anyone counting would count them twice. replaced_count is how many turns it stood in for.

Instance Attribute Summary collapse

Instance Attribute Details

#atObject (readonly)

Returns the value of attribute at

Returns:

  • (Object)

    the current value of at



8
9
10
# File 'lib/agent/sessions/compaction.rb', line 8

def at
  @at
end

#rawObject (readonly)

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



8
9
10
# File 'lib/agent/sessions/compaction.rb', line 8

def raw
  @raw
end

#replaced_countObject (readonly)

Returns the value of attribute replaced_count

Returns:

  • (Object)

    the current value of replaced_count



8
9
10
# File 'lib/agent/sessions/compaction.rb', line 8

def replaced_count
  @replaced_count
end