Package com.spidercache.node

Examples of com.spidercache.node.Request


  /**
   * Sends the current request to the outQueue on the same node.
   */
  public void sendToOut(DHT myNode)
  {   
    Request current = inQueue.peek();     
   
    if(destinationList.get(current.getDataHash())==true)
    {
       for(int i = 0;i<holdList.size();i++)
       {        
         if(holdList.get(i).equals(current.getDataHash()))
         {
           current.addURL(holdList.get(i));
           holdList.remove(i);
         }
       }
    } 
    //Message message = new QueueMessage(myNode.getNode(),current.getDataHash());
View Full Code Here

TOP

Related Classes of com.spidercache.node.Request

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.