Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
currentshared VertxContextPRNG current()

Get or create a secure non blocking random number generator using the current vert.x context. If there is no current context (i.e.: not running on the eventloop) then a java.lang.IllegalStateException is thrown.

currentshared VertxContextPRNG current(Vertx vertx)

Get or create a secure non blocking random number generator using the current vert.x instance. Since the context might be different this method will attempt to use the current context first if available and then fall back to create a new instance of the PRNG.

Parameters:
  • vertx

    a Vert.x instance.

Inherited Methods
Methods inherited from: Object
equals