public class CompositeTracer extends BaseApiTracer
Constructors
CompositeTracer(List<ApiTracer> children)
public CompositeTracer(List<ApiTracer> children)
Parameter | |
---|---|
Name | Description |
children |
List<ApiTracer> |
Methods
addAttributes(String key, String value)
public void addAttributes(String key, String value)
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
attemptCancelled()
public void attemptCancelled()
attemptFailed(Throwable error, Duration delay)
public void attemptFailed(Throwable error, Duration delay)
Parameters | |
---|---|
Name | Description |
error |
Throwable |
delay |
org.threeten.bp.Duration |
attemptFailedDuration(Throwable error, Duration delay)
public void attemptFailedDuration(Throwable error, Duration delay)
Parameters | |
---|---|
Name | Description |
error |
Throwable |
delay |
Duration |
attemptFailedRetriesExhausted(Throwable error)
public void attemptFailedRetriesExhausted(Throwable error)
Parameter | |
---|---|
Name | Description |
error |
Throwable |
attemptPermanentFailure(Throwable error)
public void attemptPermanentFailure(Throwable error)
Parameter | |
---|---|
Name | Description |
error |
Throwable |
attemptStarted(int attemptNumber)
public void attemptStarted(int attemptNumber)
Parameter | |
---|---|
Name | Description |
attemptNumber |
int |
attemptStarted(Object request, int attemptNumber)
public void attemptStarted(Object request, int attemptNumber)
Parameters | |
---|---|
Name | Description |
request |
Object |
attemptNumber |
int |
attemptSucceeded()
public void attemptSucceeded()
batchRequestSent(long elementCount, long requestSize)
public void batchRequestSent(long elementCount, long requestSize)
Parameters | |
---|---|
Name | Description |
elementCount |
long |
requestSize |
long |
connectionSelected(String id)
public void connectionSelected(String id)
Parameter | |
---|---|
Name | Description |
id |
String |
inScope()
public ApiTracer.Scope inScope()
Returns | |
---|---|
Type | Description |
Scope |
lroStartFailed(Throwable error)
public void lroStartFailed(Throwable error)
Parameter | |
---|---|
Name | Description |
error |
Throwable |
lroStartSucceeded()
public void lroStartSucceeded()
operationCancelled()
public void operationCancelled()
operationFailed(Throwable error)
public void operationFailed(Throwable error)
Parameter | |
---|---|
Name | Description |
error |
Throwable |
operationSucceeded()
public void operationSucceeded()
requestSent()
public void requestSent()
responseReceived()
public void responseReceived()