|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A RemoteSearchProvider is responsible for executing a search on a remote network. This is probably a P2P network but could also support RPC style activities (XMLRPC/SOAP).
Field Summary |
Fields inherited from interface org.openprivacy.reptile.search.SearchProvider |
STATE_NEVER_SEARCHED, STATE_SEARCH_COMPLETE, STATE_SEARCH_IN_PROGRESS |
Method Summary | |
void |
addSearchRecord(SearchRecord record)
Add a found SearchResult to this RemoteSearchProvider. |
void |
record()
Identical to the record() method interface in SearchProvider. |
Methods inherited from interface org.openprivacy.reptile.search.SearchProvider |
assertSearchable, destroy, getHandle, getResultCount, getSearchCompletedTime, getSearchRequest, getSearchStartTime, getState, getState, getTimeCreated, isSearchable, record, search, setResultCount, setSearchCompletedTime, setSearchRequest, setSearchStartTime, setState |
Method Detail |
public void addSearchRecord(SearchRecord record)
public void record() throws java.lang.Exception
Identical to the record() method interface in SearchProvider. The difference here is that record() may not be able to return right away and might have to pull the record from a remote peer/host if necessary.
Ideally Reptile would keep a record in a local cache so that it can return it right away but this might not always be possible.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |