Class: GraphQL::Tracing::NotificationsTrace::ActiveSupportNotificationsAdapter::Event Private
- Inherits:
 - 
      GraphQL::Tracing::NotificationsTrace::Adapter::Event
      
        
- Object
 - GraphQL::Tracing::NotificationsTrace::Adapter::Event
 - GraphQL::Tracing::NotificationsTrace::ActiveSupportNotificationsAdapter::Event
 
 
- 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.
Instance Attribute Summary
Attributes inherited from GraphQL::Tracing::NotificationsTrace::Adapter::Event
Instance Method Summary collapse
- 
  
    
      #finish  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 - 
  
    
      #start  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 
Methods inherited from GraphQL::Tracing::NotificationsTrace::Adapter::Event
Constructor Details
This class inherits a constructor from GraphQL::Tracing::NotificationsTrace::Adapter::Event
Instance Method Details
#finish ⇒ 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.
      69 70 71 72  | 
    
      # File 'lib/graphql/tracing/notifications_trace.rb', line 69 def finish @asn_event.finish! ActiveSupport::Notifications.publish_event(@asn_event) end  | 
  
#start ⇒ 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.
      64 65 66 67  | 
    
      # File 'lib/graphql/tracing/notifications_trace.rb', line 64 def start @asn_event = ActiveSupport::Notifications.instrumenter.new_event(@name, @payload) @asn_event.start! end  |