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, wait
getGraph
public CachingGraphService(GraphService delegate)
public List<GraphContainerInfo> getGraphContainerInfos()
getGraphContainerInfos
in interface GraphService
public GraphContainerInfo getGraphContainerInfo(String containerId)
getGraphContainerInfo
in interface GraphService
public GraphContainerInfo getGraphContainerInfoByNamespace(String namespace)
getGraphContainerInfoByNamespace
in interface GraphService
public GraphInfo getGraphInfo(String graphNamespace)
getGraphInfo
in interface GraphService
public GenericGraphContainer getGraphContainer(String containerId)
getGraphContainer
in interface GraphService
public GenericGraph getGraph(String containerId, String graphNamespace)
getGraph
in interface GraphService
public void invalidate(String containerId)
invalidate
in interface GraphContainerCache
public ImmutableGraphContainer get(String containerId)
get
in interface GraphContainerCache
public void onUnbind(GraphContainerProvider graphContainerProvider, Map<String,String> props)
public void onBind(GraphContainerProvider graphContainerProvider, Map<String,String> props)
Copyright © 2021. All rights reserved.