Class ThreadLocalRandomHandler
java.lang.Object
io.opencensus.implcore.trace.internal.RandomHandler
io.opencensus.impl.trace.internal.ThreadLocalRandomHandler
Implementation of the
RandomHandler
using ThreadLocalRandom
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.opencensus.implcore.trace.internal.RandomHandler
RandomHandler.SecureRandomHandler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ThreadLocalRandomHandler
public ThreadLocalRandomHandler()Constructs a newThreadLocalRandomHandler
.
-
-
Method Details
-
current
Description copied from class:RandomHandler
Returns the currentRandom
.- Specified by:
current
in classRandomHandler
- Returns:
- the current
Random
.
-