Class PeerMessageLimiter.CountData

  • Enclosing class:
    PeerMessageLimiter

    private static class PeerMessageLimiter.CountData
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.LinkedList counts  
      private int max_counts  
      private int time_limit  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CountData​(int max_counts, int time_limit)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • max_counts

        private final int max_counts
      • time_limit

        private final int time_limit
      • counts

        private final java.util.LinkedList counts
    • Constructor Detail

      • CountData

        private CountData​(int max_counts,
                          int time_limit)