Package io.vertx.mutiny.ext.auth
Class VertxContextPRNG
java.lang.Object
io.vertx.mutiny.ext.auth.prng.VertxContextPRNG
io.vertx.mutiny.ext.auth.VertxContextPRNG
- All Implemented Interfaces:
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVertxContextPRNG
(io.vertx.ext.auth.VertxContextPRNG delegate) Deprecated.VertxContextPRNG
(Object delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic VertxContextPRNG
current()
Deprecated.static VertxContextPRNG
Deprecated.boolean
Deprecated.io.vertx.ext.auth.VertxContextPRNG
Deprecated.int
hashCode()
Deprecated.static VertxContextPRNG
newInstance
(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:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classVertxContextPRNG
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
Deprecated.- Overrides:
toString
in classVertxContextPRNG
-
equals
Deprecated.- Overrides:
equals
in classVertxContextPRNG
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in 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.
-