java.lang.Object
io.vertx.mutiny.ext.auth.prng.VertxContextPRNG
io.vertx.mutiny.ext.auth.VertxContextPRNG
- All Implemented Interfaces:
io.smallrye.mutiny.vertx.MutinyDelegate
@Deprecated
public class VertxContextPRNG
extends VertxContextPRNG
implements io.smallrye.mutiny.vertx.MutinyDelegate
Deprecated.
A secure non blocking random number generator isolated to the current context. The PRNG is bound to the vert.x
context and setup to close when the context shuts down.
When applicable, use of VertxContextPRNG rather than create new PRNG objects is helpful to keep the system entropy usage to the minimum avoiding potential blocking across the application.
The use of VertxContextPRNG is particularly appropriate when multiple handlers use random numbers.
NOTE: This class has been automatically generated from theoriginal non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.smallrye.mutiny.vertx.TypeArg<VertxContextPRNG> Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionVertxContextPRNG(io.vertx.ext.auth.VertxContextPRNG delegate) Deprecated.VertxContextPRNG(Object delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic VertxContextPRNGcurrent()Deprecated.static VertxContextPRNGcurrent(io.vertx.mutiny.core.Vertx vertx) Deprecated.booleanDeprecated.io.vertx.ext.auth.VertxContextPRNGDeprecated.inthashCode()Deprecated.static VertxContextPRNGnewInstance(io.vertx.ext.auth.VertxContextPRNG arg) Deprecated.toString()Deprecated.Methods inherited from class io.vertx.mutiny.ext.auth.prng.VertxContextPRNG
close, newInstance, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, nextString
-
Field Details
-
__TYPE_ARG
Deprecated.
-
-
Constructor Details
-
VertxContextPRNG
public VertxContextPRNG(io.vertx.ext.auth.VertxContextPRNG delegate) Deprecated. -
VertxContextPRNG
Deprecated.
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.VertxContextPRNG getDelegate()Deprecated.- Specified by:
getDelegatein interfaceio.smallrye.mutiny.vertx.MutinyDelegate- Overrides:
getDelegatein classVertxContextPRNG
-
toString
Deprecated.- Overrides:
toStringin classVertxContextPRNG
-
equals
Deprecated.- Overrides:
equalsin classVertxContextPRNG
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classVertxContextPRNG
-
current
Deprecated.- Returns:
- A secure non blocking random number generator.
-
current
Deprecated.- Parameters:
vertx- a Vert.x instance.- Returns:
- A secure non blocking random number generator.
-
newInstance
Deprecated.
-