Package io.opencensus.trace.config
Class TraceConfig.NoopTraceConfig
- java.lang.Object
-
- io.opencensus.trace.config.TraceConfig
-
- io.opencensus.trace.config.TraceConfig.NoopTraceConfig
-
- Enclosing class:
- TraceConfig
private static final class TraceConfig.NoopTraceConfig extends TraceConfig
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNoopTraceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceParamsgetActiveTraceParams()Returns the activeTraceParams.voidupdateActiveTraceParams(TraceParams traceParams)Updates the activeTraceParams.-
Methods inherited from class io.opencensus.trace.config.TraceConfig
getNoopTraceConfig
-
-
-
-
Method Detail
-
getActiveTraceParams
public TraceParams getActiveTraceParams()
Description copied from class:TraceConfigReturns the activeTraceParams.- Specified by:
getActiveTraceParamsin classTraceConfig- Returns:
- the active
TraceParams.
-
updateActiveTraceParams
public void updateActiveTraceParams(TraceParams traceParams)
Description copied from class:TraceConfigUpdates the activeTraceParams.- Specified by:
updateActiveTraceParamsin classTraceConfig- Parameters:
traceParams- the new activeTraceParams.
-
-