public class CachingGraphService extends Object implements GraphService, GraphContainerCache
| Constructor and Description |
|---|
CachingGraphService(GraphService delegate) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableGraphContainer |
get(String containerId) |
GenericGraph |
getGraph(String containerId,
String graphNamespace) |
GenericGraphContainer |
getGraphContainer(String containerId) |
GraphContainerInfo |
getGraphContainerInfo(String containerId) |
GraphContainerInfo |
getGraphContainerInfoByNamespace(String namespace) |
List<GraphContainerInfo> |
getGraphContainerInfos() |
GraphInfo |
getGraphInfo(String graphNamespace) |
void |
invalidate(String containerId) |
void |
onBind(GraphContainerProvider graphContainerProvider,
Map<String,String> props) |
void |
onUnbind(GraphContainerProvider graphContainerProvider,
Map<String,String> props) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphpublic CachingGraphService(GraphService delegate)
public List<GraphContainerInfo> getGraphContainerInfos()
getGraphContainerInfos in interface GraphServicepublic GraphContainerInfo getGraphContainerInfo(String containerId)
getGraphContainerInfo in interface GraphServicepublic GraphContainerInfo getGraphContainerInfoByNamespace(String namespace)
getGraphContainerInfoByNamespace in interface GraphServicepublic GraphInfo getGraphInfo(String graphNamespace)
getGraphInfo in interface GraphServicepublic GenericGraphContainer getGraphContainer(String containerId)
getGraphContainer in interface GraphServicepublic GenericGraph getGraph(String containerId, String graphNamespace)
getGraph in interface GraphServicepublic void invalidate(String containerId)
invalidate in interface GraphContainerCachepublic ImmutableGraphContainer get(String containerId)
get in interface GraphContainerCachepublic void onUnbind(GraphContainerProvider graphContainerProvider, Map<String,String> props)
public void onBind(GraphContainerProvider graphContainerProvider, Map<String,String> props)
Copyright © 2022. All rights reserved.