public class BatchTraceRecorder extends Object implements TraceRecorder
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchTraceRecorder.BatchTraceRecorderBuilder |
| Constructor and Description |
|---|
BatchTraceRecorder() |
BatchTraceRecorder(BatchTraceRecorder.BatchTraceRecorderBuilder recorderBuilder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTenantId() |
protected void |
init(BatchTraceRecorder.BatchTraceRecorderBuilder builder) |
boolean |
isEnabled() |
void |
record(Trace trace)
This method reports a trace fragment.
|
void |
setTenantId(String tenantId) |
protected void |
submitTraces()
This method submits the current list of traces
|
public BatchTraceRecorder()
public BatchTraceRecorder(BatchTraceRecorder.BatchTraceRecorderBuilder recorderBuilder)
protected void init(BatchTraceRecorder.BatchTraceRecorderBuilder builder)
public boolean isEnabled()
public String getTenantId()
public void setTenantId(String tenantId)
tenantId - the tenantId to setpublic void record(Trace trace)
TraceRecorderrecord in interface TraceRecordertrace - The trace fragmentprotected void submitTraces()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.