@Singleton public class CrawlSessionProvider extends Object implements javax.inject.Provider<CrawlSession>
CrawlSession.| Constructor and Description |
|---|
CrawlSessionProvider(InMemoryStateFlowGraph stateFlowGraph,
CrawljaxConfiguration config,
com.codahale.metrics.MetricRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
CrawlSession |
get() |
void |
setup(StateVertex indexState) |
@Inject public CrawlSessionProvider(InMemoryStateFlowGraph stateFlowGraph, CrawljaxConfiguration config, com.codahale.metrics.MetricRegistry registry)
public void setup(StateVertex indexState)
indexState - the root of the SFGIllegalStateException - when the method is invoked more than once.public CrawlSession get()
get in interface javax.inject.Provider<CrawlSession>Copyright © 2007–2019. All rights reserved.