Examples of reachedMaxDocs()


Examples of com.ikanow.infinit.e.data_model.store.config.source.SourcePojo.reachedMaxDocs()

      //(DISTRIBUTON LOGIC)
     
      // Checking whether to respect the searchCycle_secs for distributed sources is a bit more complex
      boolean isDistributed = (null != candidate.getDistributionFactor());     
      boolean distributedInProcess = isDistributed && 
        candidate.reachedMaxDocs() ||  // (<- only set inside a process)
          ((null != candidate.getHarvestStatus()) && // (robustness)
              (null != candidate.getHarvestStatus().getDistributionTokensFree()) && // (else starting out)
                (candidate.getDistributionFactor() != candidate.getHarvestStatus().getDistributionTokensFree()));
                  // (else this is the start)
      //(TESTED - local and distributed)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.