Package org.opennms.netmgt.graph.service
Class CachingGraphService
- java.lang.Object
-
- org.opennms.netmgt.graph.service.CachingGraphService
-
- All Implemented Interfaces:
GraphContainerCache,GraphService
public class CachingGraphService extends Object implements GraphService, GraphContainerCache
-
-
Constructor Summary
Constructors Constructor Description CachingGraphService(GraphService delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableGraphContainerget(String containerId)GenericGraphgetGraph(String containerId, String graphNamespace)GenericGraphContainergetGraphContainer(String containerId)GraphContainerInfogetGraphContainerInfo(String containerId)GraphContainerInfogetGraphContainerInfoByNamespace(String namespace)List<GraphContainerInfo>getGraphContainerInfos()GraphInfogetGraphInfo(String graphNamespace)voidinvalidate(String containerId)voidonBind(GraphContainerProvider graphContainerProvider, Map<String,String> props)voidonUnbind(GraphContainerProvider graphContainerProvider, Map<String,String> props)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.graph.api.service.GraphService
getGraph
-
-
-
-
Constructor Detail
-
CachingGraphService
public CachingGraphService(GraphService delegate)
-
-
Method Detail
-
getGraphContainerInfos
public List<GraphContainerInfo> getGraphContainerInfos()
- Specified by:
getGraphContainerInfosin interfaceGraphService
-
getGraphContainerInfo
public GraphContainerInfo getGraphContainerInfo(String containerId)
- Specified by:
getGraphContainerInfoin interfaceGraphService
-
getGraphContainerInfoByNamespace
public GraphContainerInfo getGraphContainerInfoByNamespace(String namespace)
- Specified by:
getGraphContainerInfoByNamespacein interfaceGraphService
-
getGraphInfo
public GraphInfo getGraphInfo(String graphNamespace)
- Specified by:
getGraphInfoin interfaceGraphService
-
getGraphContainer
public GenericGraphContainer getGraphContainer(String containerId)
- Specified by:
getGraphContainerin interfaceGraphService
-
getGraph
public GenericGraph getGraph(String containerId, String graphNamespace)
- Specified by:
getGraphin interfaceGraphService
-
invalidate
public void invalidate(String containerId)
- Specified by:
invalidatein interfaceGraphContainerCache
-
get
public ImmutableGraphContainer get(String containerId)
- Specified by:
getin interfaceGraphContainerCache
-
onUnbind
public void onUnbind(GraphContainerProvider graphContainerProvider, Map<String,String> props)
-
onBind
public void onBind(GraphContainerProvider graphContainerProvider, Map<String,String> props)
-
-