org.planx.xmlstore.routing.operation
Class RestoreOperation

java.lang.Object
  extended by org.planx.xmlstore.routing.operation.Operation
      extended by org.planx.xmlstore.routing.operation.RestoreOperation

public class RestoreOperation
extends Operation

Refreshes all buckets and sends HashMessages to all nodes that are among the K closest to mappings stored at this node. Also deletes any mappings that this node is no longer among the K closest to.


Constructor Summary
RestoreOperation(Configuration conf, MessageServer server, Space space, Node local, Map localMap)
           
 
Method Summary
 Object execute()
          Starts the operation and returns when the operation is finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestoreOperation

public RestoreOperation(Configuration conf,
                        MessageServer server,
                        Space space,
                        Node local,
                        Map localMap)
Method Detail

execute

public Object execute()
               throws IOException,
                      RoutingException
Description copied from class: Operation
Starts the operation and returns when the operation is finished.

Specified by:
execute in class Operation
Returns:
null
Throws:
RoutingException - If any suboperation timed out
IOException - If a network occurred


Copyright © 2010. All Rights Reserved.