private void lazyLoadRecorder() { if (recorder != null) { return; } recorder = AWSXRay.getGlobalRecorder(); }
private AWSXRayRecorder getRecorder() { if (recorder == null) { recorder = AWSXRay.getGlobalRecorder(); } return recorder; }
/** * Constructs a TracedHttpClient instance using the provided client and global recorder. * * @param wrappedClient * the HTTP client to wrap */ public TracedHttpClient(final CloseableHttpClient wrappedClient) { this(wrappedClient, AWSXRay.getGlobalRecorder()); }
private AWSXRayRecorder getRecorder() { if (recorder == null) { recorder = AWSXRay.getGlobalRecorder(); } return recorder; }
private AWSXRayRecorder getRecorder() { if (recorder == null) { recorder = AWSXRay.getGlobalRecorder(); } return recorder; } }
private AWSXRayRecorder getRecorder() { if (recorder == null) { recorder = AWSXRay.getGlobalRecorder(); } return recorder; } }
private AWSXRayRecorder getRecorder() { if (recorder == null) { recorder = AWSXRay.getGlobalRecorder(); } return recorder; }
private AWSXRayRecorder getRecorder() { if (recorder == null) { recorder = AWSXRay.getGlobalRecorder(); } return recorder; }
/** * Constructs a TracedHttpClient instance using the provided client and global recorder. * * @param wrappedClient * the HTTP client to wrap */ public TracedHttpClient(final CloseableHttpClient wrappedClient) { this(wrappedClient, AWSXRay.getGlobalRecorder()); }
private AWSXRayRecorder getRecorder() { return AWSXRay.getGlobalRecorder(); }
private AWSXRayRecorder getRecorder() { return AWSXRay.getGlobalRecorder(); }
public TracingHandler(URL operationParameterWhitelist) { this(AWSXRay.getGlobalRecorder(), null, operationParameterWhitelist); }
public TracingHandler(String accountId, URL operationParameterWhitelist) { this(AWSXRay.getGlobalRecorder(), accountId, operationParameterWhitelist); }
public TracingHandler() { this(AWSXRay.getGlobalRecorder(), null, null); }
public TracingHandler(String accountId) { this(AWSXRay.getGlobalRecorder(), accountId, null); }
private static ContextMissingStrategy getContextMissingStrategy() { return AWSXRay.getGlobalRecorder().getContextMissingStrategy(); }
public static HttpClientBuilder create() { HttpClientBuilder newBuilder = new HttpClientBuilder(); newBuilder.setRecorder(AWSXRay.getGlobalRecorder()); return newBuilder; }
public static HttpClientBuilder create() { HttpClientBuilder newBuilder = new HttpClientBuilder(); newBuilder.setRecorder(AWSXRay.getGlobalRecorder()); return newBuilder; }