Class AsynchronousDispatcher.SecureRandomWrapper

  • Enclosing class:
    AsynchronousDispatcher

    private static class AsynchronousDispatcher.SecureRandomWrapper
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int DEFAULT_MAX_USES  
      private int maxUses  
      private java.security.SecureRandom random  
      private int uses  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SecureRandomWrapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int getMaxUses()  
      int nextInt()  
      private void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • random

        private java.security.SecureRandom random
      • maxUses

        private int maxUses
      • uses

        private int uses
    • Constructor Detail

      • SecureRandomWrapper

        private SecureRandomWrapper()
    • Method Detail

      • nextInt

        public int nextInt()
      • reset

        private void reset()
      • getMaxUses

        private int getMaxUses()