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.
Anything
Object
VertxContextPRNG
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
VertxContextPRNG(VertxContextPRNG unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Inherited Methods |
Methods inherited from: Object equals |