OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:randomHandler
(Results
1 - 4
of
4
) sorted by null
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
TracerImpl.java
20
import io.opencensus.implcore.trace.internal.
RandomHandler
;
33
RandomHandler
randomHandler
,
38
new SpanBuilderImpl.Options(
randomHandler
, startEndHandler, clock, traceConfig);
TraceComponentImplBase.java
25
import io.opencensus.implcore.trace.internal.
RandomHandler
;
51
* @param
randomHandler
the random number generator for generating trace and span IDs.
54
public TraceComponentImplBase(Clock clock,
RandomHandler
randomHandler
, EventQueue eventQueue) {
68
tracer = new TracerImpl(
randomHandler
, startEndHandler, clock, traceConfig);
SpanBuilderImpl.java
23
import io.opencensus.implcore.trace.internal.
RandomHandler
;
70
Random random = options.
randomHandler
.current();
213
private final
RandomHandler
randomHandler
;
219
RandomHandler
randomHandler
,
223
this.
randomHandler
= checkNotNull(
randomHandler
, "
randomHandler
");
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
SpanBuilderImplTest.java
23
import io.opencensus.implcore.trace.internal.
RandomHandler
;
53
private final
RandomHandler
randomHandler
= new FakeRandomHandler();
61
new SpanBuilderImpl.Options(
randomHandler
, startEndHandler, testClock, traceConfig);
205
TraceId.generateRandomId(
randomHandler
.current()),
206
SpanId.generateRandomId(
randomHandler
.current()),
365
SpanId.generateRandomId(
randomHandler
.current()),
382
SpanId.generateRandomId(
randomHandler
.current()),
392
private static final class FakeRandomHandler extends
RandomHandler
{
Completed in 188 milliseconds