Class RandomHandler
- java.lang.Object
-
- io.opencensus.implcore.trace.internal.RandomHandler
-
- Direct Known Subclasses:
RandomHandler.SecureRandomHandler,ThreadLocalRandomHandler
@ThreadSafe public abstract class RandomHandler extends java.lang.ObjectAbstract class to access the currentRandom.Implementation can have a per thread instance or a single global instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRandomHandler.SecureRandomHandlerImplementation of theRandomHandlerusingSecureRandom.
-
Constructor Summary
Constructors Constructor Description RandomHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.util.Randomcurrent()Returns the currentRandom.
-