public class LocalSearchManager extends Object implements ISearchManager
Constructor and Description |
---|
LocalSearchManager()
Create a new local search manager.
|
LocalSearchManager(boolean forcedsearch)
Create a new local search manager.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCacheKey()
Get the cache key.
|
boolean |
isForcedSearch()
Get the forcedsearch.
|
IIntermediateFuture<IService> |
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 LocalSearchManager()
public LocalSearchManager(boolean forcedsearch)
public IIntermediateFuture<IService> 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.