Class NewRelic::Agent::TransactionSampleBuilder::PlaceholderNode
In: lib/new_relic/agent/transaction_sample_builder.rb
Parent: Object

Once we hit the TT node limit, we use this class to hold our place in the tree so that we can still get accurate names and times on the nodes we‘ve already created. The placeholder node keeps a depth counter that‘s incremented on each node entry, and decremented on exit, until it reaches zero, when we throw the placeholder away. There should only ever be zero or one placeholder node at a time.

@api private

Methods

[]   []=   new   params   params=  

Attributes

depth  [RW] 
parent_node  [R] 

Public Class methods

Public Instance methods

No-op - some clients expect to be able to use these to read/write params on TT nodes.

Stubbed out in case clients try to touch params directly.

[Validate]