Package org.commoncrawl.query.QueryRequest

Examples of org.commoncrawl.query.QueryRequest.RunState


 
  @SuppressWarnings("unchecked")
  private void deactivateRequest(QueryRequest request,RunState newRunState) {
    LOG.info("DeActivating Query:" + request.getSourceQuery().getQueryId() + " RunState:" + request.getRunState().toString());
    // preserve last run state ...
    RunState lastRunState = request.getRunState();
    // set new run state
    request.setRunState(newRunState);
    // remote from active or remote list
    _activeRemoteOrLocalQueries.remove(request.getSourceQuery().getQueryId());
   
View Full Code Here

TOP

Related Classes of org.commoncrawl.query.QueryRequest.RunState

Copyright © 2018 www.massapicom. 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.