public class ParallelSearchManager extends Object implements ISearchManager
Constructor and Description |
---|
ParallelSearchManager()
Create a new search manager.
|
ParallelSearchManager(boolean up,
boolean down)
Create a new search manager.
|
ParallelSearchManager(boolean up,
boolean down,
boolean forcedsearch)
Create a new search manager.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCacheKey()
Get the cache key.
|
boolean |
isForcedSearch()
Get the forcedsearch.
|
IIntermediateFuture |
searchServices(IServiceProvider provider,
IVisitDecider decider,
IResultSelector selector,
Map services)
Search for services, starting at the given service provider.
|
void |
setForcedSearch(boolean forcedsearch)
Set the forcedsearch.
|
public ParallelSearchManager()
public ParallelSearchManager(boolean up, boolean down)
public ParallelSearchManager(boolean up, boolean down, boolean forcedsearch)
public IIntermediateFuture searchServices(IServiceProvider provider, IVisitDecider decider, IResultSelector selector, Map services)
searchServices
in interface ISearchManager
provider
- The service provider to start the search at.decider
- The visit decider to select nodes and terminate the search.selector
- The result selector to select matching services and produce the final result.services
- The local services of the provider (class->list of services).public Object getCacheKey()
getCacheKey
in interface ISearchManager
public boolean isForcedSearch()
isForcedSearch
in interface ISearchManager
public void setForcedSearch(boolean forcedsearch)
forcedsearch
- The forcedsearch to set.Copyright © 2012. All Rights Reserved.