Class CompositeTracer (6.102.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 6.102.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   class  CompositeTracer   extends   BaseApiTracer  
  
  
  Constructors
   
  CompositeTracer(List<ApiTracer> children) 
  
    
public   CompositeTracer ( List<ApiTracer>   children )  
  
  Methods
   
  addAttributes(String key, String value) 
  
    
public   void   addAttributes ( String   key ,   String   value )  
  
  addAttributes(Map<String,String> attributes) 
  
    
public   void   addAttributes ( Map<String , String >  attributes )  
  
  attemptCancelled() 
  
    
public   void   attemptCancelled ()  
  Overrides 
  
  attemptFailed(Throwable error, Duration delay) 
  
    
public   void   attemptFailed ( Throwable   error ,   Duration   delay )  
  
    
      
        Parameters  
      
        Name Description  
      
        errorThrowable  
      
        delayorg.threeten.bp.Duration  
     
  
  Overrides 
  
  attemptFailedDuration(Throwable error, Duration delay) 
  
    
public   void   attemptFailedDuration ( Throwable   error ,   Duration   delay )  
  
  attemptFailedRetriesExhausted(Throwable error) 
  
    
public   void   attemptFailedRetriesExhausted ( Throwable   error )  
  
  Overrides 
  
  attemptPermanentFailure(Throwable error) 
  
    
public   void   attemptPermanentFailure ( Throwable   error )  
  
  Overrides 
  
  attemptStarted(int attemptNumber) 
  
    
public   void   attemptStarted ( int   attemptNumber )  
  
    
      
        Parameter  
      
        Name Description  
      
        attemptNumberint  
     
  
  Overrides 
  
  attemptStarted(Object request, int attemptNumber) 
  
    
public   void   attemptStarted ( Object   request ,   int   attemptNumber )  
  
    
      
        Parameters  
      
        Name Description  
      
        requestObject  
      
        attemptNumberint  
     
  
  Overrides 
  
  attemptSucceeded() 
  
    
public   void   attemptSucceeded ()  
  Overrides 
  
  batchRequestSent(long elementCount, long requestSize) 
  
    
public   void   batchRequestSent ( long   elementCount ,   long   requestSize )  
  
    
      
        Parameters  
      
        Name Description  
      
        elementCountlong  
      
        requestSizelong  
     
  
  Overrides 
  
  connectionSelected(String id) 
  
    
public   void   connectionSelected ( String   id )  
  
    
      
        Parameter  
      
        Name Description  
      
        idString  
     
  
  Overrides 
  
  inScope() 
  
    
public   ApiTracer . Scope   inScope ()  
  
    
      
        Returns  
      
        Type Description  
      
        Scope  
     
  
  Overrides 
  
  lroStartFailed(Throwable error) 
  
    
public   void   lroStartFailed ( Throwable   error )  
  
  Overrides 
  
  lroStartSucceeded() 
  
    
public   void   lroStartSucceeded ()  
  Overrides 
  
  operationCancelled() 
  
    
public   void   operationCancelled ()  
  Overrides 
  
  operationFailed(Throwable error) 
  
    
public   void   operationFailed ( Throwable   error )  
  
  Overrides 
  
  operationSucceeded() 
  
    
public   void   operationSucceeded ()  
  Overrides 
  
  recordAFELatency(Float afeLatency) 
  
    
public   void   recordAFELatency ( Float   afeLatency )  
  
    
      
        Parameter  
      
        Name Description  
      
        afeLatencyFloat  
     
  
  recordAFELatency(Long afeLatency) 
  
    
public   void   recordAFELatency ( Long   afeLatency )  
  
    
      
        Parameter  
      
        Name Description  
      
        afeLatencyLong  
     
  
  
  
  
    
public   void   recordAfeHeaderMissingCount ( Long   value )  
  
    
      
        Parameter  
      
        Name Description  
      
        valueLong  
     
  
  recordGFELatency(Float gfeLatency) 
  
    
public   void   recordGFELatency ( Float   gfeLatency )  
  
    
      
        Parameter  
      
        Name Description  
      
        gfeLatencyFloat  
     
  
  recordGFELatency(Long gfeLatency) 
  
    
public   void   recordGFELatency ( Long   gfeLatency )  
  
    
      
        Parameter  
      
        Name Description  
      
        gfeLatencyLong  
     
  
  
  
  
    
public   void   recordGfeHeaderMissingCount ( Long   value )  
  
    
      
        Parameter  
      
        Name Description  
      
        valueLong  
     
  
  requestSent() 
  
    
public   void   requestSent ()  
  Overrides 
  
  responseReceived() 
  
    
public   void   responseReceived ()  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]