Class SearcherLifetimeManager.PruneByAge

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double maxAgeSec  
    • Constructor Summary

      Constructors 
      Constructor Description
      PruneByAge​(double maxAgeSec)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean doPrune​(double ageSec, IndexSearcher searcher)
      Return true if this searcher should be removed.
      • Methods inherited from class java.lang.Object

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

      • maxAgeSec

        private final double maxAgeSec
    • Constructor Detail

      • PruneByAge

        public PruneByAge​(double maxAgeSec)