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 java.lang.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 ImmutableGraphContainer
get(java.lang.String containerId)
GenericGraph
getGraph(java.lang.String containerId, java.lang.String graphNamespace)
GenericGraphContainer
getGraphContainer(java.lang.String containerId)
GraphContainerInfo
getGraphContainerInfo(java.lang.String containerId)
GraphContainerInfo
getGraphContainerInfoByNamespace(java.lang.String namespace)
java.util.List<GraphContainerInfo>
getGraphContainerInfos()
GraphInfo
getGraphInfo(java.lang.String graphNamespace)
void
invalidate(java.lang.String containerId)
void
onBind(GraphContainerProvider graphContainerProvider, java.util.Map<java.lang.String,java.lang.String> props)
void
onUnbind(GraphContainerProvider graphContainerProvider, java.util.Map<java.lang.String,java.lang.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 java.util.List<GraphContainerInfo> getGraphContainerInfos()
- Specified by:
getGraphContainerInfos
in interfaceGraphService
-
getGraphContainerInfo
public GraphContainerInfo getGraphContainerInfo(java.lang.String containerId)
- Specified by:
getGraphContainerInfo
in interfaceGraphService
-
getGraphContainerInfoByNamespace
public GraphContainerInfo getGraphContainerInfoByNamespace(java.lang.String namespace)
- Specified by:
getGraphContainerInfoByNamespace
in interfaceGraphService
-
getGraphInfo
public GraphInfo getGraphInfo(java.lang.String graphNamespace)
- Specified by:
getGraphInfo
in interfaceGraphService
-
getGraphContainer
public GenericGraphContainer getGraphContainer(java.lang.String containerId)
- Specified by:
getGraphContainer
in interfaceGraphService
-
getGraph
public GenericGraph getGraph(java.lang.String containerId, java.lang.String graphNamespace)
- Specified by:
getGraph
in interfaceGraphService
-
invalidate
public void invalidate(java.lang.String containerId)
- Specified by:
invalidate
in interfaceGraphContainerCache
-
get
public ImmutableGraphContainer get(java.lang.String containerId)
- Specified by:
get
in interfaceGraphContainerCache
-
onUnbind
public void onUnbind(GraphContainerProvider graphContainerProvider, java.util.Map<java.lang.String,java.lang.String> props)
-
onBind
public void onBind(GraphContainerProvider graphContainerProvider, java.util.Map<java.lang.String,java.lang.String> props)
-
-