Class: GraphQL::Tracing::NotificationsTrace::Adapter Private
- Inherits:
 - 
      Object
      
        
- Object
 - GraphQL::Tracing::NotificationsTrace::Adapter
 
 
- Defined in:
 - lib/graphql/tracing/notifications_trace.rb
 
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Defined Under Namespace
Classes: Event
Instance Method Summary collapse
- 
  
    
      #instrument(keyword, payload, &block)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 - 
  
    
      #start_event(keyword, payload)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 
Instance Method Details
#instrument(keyword, payload, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
      12 13 14  | 
    
      # File 'lib/graphql/tracing/notifications_trace.rb', line 12 def instrument(keyword, payload, &block) raise "Implement #{self.class}#instrument to measure the block" end  | 
  
#start_event(keyword, payload) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
      16 17 18 19 20  | 
    
      # File 'lib/graphql/tracing/notifications_trace.rb', line 16 def start_event(keyword, payload) ev = self.class::Event.new(keyword, payload) ev.start ev end  |