public interface GraphSource
Modifier and Type | Interface and Description |
---|---|
static interface |
GraphSource.Factory
Factory of GraphSource.
|
Modifier and Type | Method and Description |
---|---|
void |
evict()
Callback when the graph (source) gets evicted from the repository.
|
Router |
getRouter() |
boolean |
reload(boolean force,
boolean preEvict)
Reload the graph from it's source.
|
Router getRouter()
boolean reload(boolean force, boolean preEvict)
force
- True to force a reload, false to check only.preEvict
- True to evict the old version *before* loading the new one. In that case the
implementation have to take care of making the getGraph() call wait while the new
graph is being loaded and not return null.void evict()
Copyright © 2018. All rights reserved.