org.planx.routing.kademlia.operation
Class RestoreOperation
java.lang.Object
org.planx.routing.kademlia.operation.RestoreOperation
- All Implemented Interfaces:
- Operation<Object>
public class RestoreOperation
- extends Object
- implements Operation<Object>
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.
|
Method Summary |
Object |
execute()
Starts the operation and returns when the operation is finished. |
RestoreOperation
public RestoreOperation(Configuration conf,
MessageServer server,
Space space,
Node local,
Map localMap)
execute
public Object execute()
throws IOException,
RoutingException
- Description copied from interface:
Operation
- Starts the operation and returns when the operation is finished.
- Specified by:
execute in interface Operation<Object>
- Returns:
null
- Throws:
RoutingException - If any suboperation timed out
IOException - If a network occurred
Copyright © 2004-2005 Plan-X. All Rights Reserved.