|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.mds.SearchTask
Title: Search Task
Description: This class is a task which handles Search requests entering an MDS node. It performs a local lookup of the Search criteria, a Bloom Check if in Bloom Search Mode, and propogates the SearchRequest
Copyright: Copyright (c) 2002
Company: NETCOM
Constructor Summary | |
SearchTask(SearchRequest search_request,
java.util.Collection mds_connects,
java.util.Collection outgoing_friends,
java.util.Map all_psdatas,
java.util.Map all_bloom_filters,
AddressPort mdsnode_identifier,
java.util.Map output_obj_streams)
The search task is created by providing ALL references it needs to complete the task, which it stored internally, and uses when run(). |
Method Summary | |
void |
run()
Overwrites run() method from Thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchTask(SearchRequest search_request, java.util.Collection mds_connects, java.util.Collection outgoing_friends, java.util.Map all_psdatas, java.util.Map all_bloom_filters, AddressPort mdsnode_identifier, java.util.Map output_obj_streams)
search_request
- the actual request asking for itemsmds_connects
- the collection of 'friend' connections to this MDS node
this is a direct pointer, and not copy of the mds_connectsall_psdatas
- the collection of all the internal PSData objects in this MDS node
this should be a copy of the psData collection (so thread-safe)all_bloom_filters
- a reference to a map of all known bloom filters
this should be a copy of the bloom filters (so thread-safe)mdsnode_identifier
- Information describing "this" MDS Node's location on the network
to prevent any request loopingMethod Detail |
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |