Class VertxContextPRNG

java.lang.Object
io.vertx.mutiny.ext.auth.prng.VertxContextPRNG
io.vertx.mutiny.ext.auth.VertxContextPRNG
All Implemented Interfaces:
MutinyDelegate

@Deprecated public class VertxContextPRNG extends VertxContextPRNG implements 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 the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • VertxContextPRNG

      public VertxContextPRNG(io.vertx.ext.auth.VertxContextPRNG delegate)
      Deprecated.
    • VertxContextPRNG

      public VertxContextPRNG(Object delegate)
      Deprecated.
  • Method Details