Class DepthStatistics


  • public class DepthStatistics
    extends java.lang.Object
    An instance of this class keeps a running average of how long it takes for every connection to process a document. This information is used to limit queuing per connection to something reasonable given the characteristics of the connection.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
      protected java.util.ArrayList scanSetBins  
    • Constructor Summary

      Constructors 
      Constructor Description
      DepthStatistics()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBins​(java.lang.Double priority)
      Add a document's bins to the set
      java.lang.Double[] getBins()
      Grab all the bins in a big array
      • Methods inherited from class java.lang.Object

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

      • scanSetBins

        protected java.util.ArrayList scanSetBins
    • Constructor Detail

      • DepthStatistics

        public DepthStatistics()
        Constructor
    • Method Detail

      • addBins

        public void addBins​(java.lang.Double priority)
        Add a document's bins to the set
      • getBins

        public java.lang.Double[] getBins()
        Grab all the bins in a big array