Class VertxContextPRNG


  • public class VertxContextPRNG
    extends VertxContextPRNG
    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 Detail

      • __TYPE_ARG

        public static final io.smallrye.mutiny.vertx.TypeArg<VertxContextPRNG> __TYPE_ARG
    • Constructor Detail

      • VertxContextPRNG

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

        public VertxContextPRNG​(Object delegate)