| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
MockCollectionAgent.getStorageResourcePath()  | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
AliasedResource.getParent()  | 
ResourcePath | 
IfInfo.getParent()  | 
ResourcePath | 
GenericIndexResource.getParent()  | 
ResourcePath | 
NodeInfo.getParent()  | 
ResourcePath | 
AliasedResource.getPath()  | 
ResourcePath | 
IfInfo.getPath()  | 
ResourcePath | 
GenericIndexResource.getPath()  | 
ResourcePath | 
NodeInfo.getPath()
Retrieves path for the resource, relative to the root of the
 associated  
RrdRepository. | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
CollectionResource.getParent()
Returns the name of the parent resource. 
 | 
ResourcePath | 
LatencyCollectionResource.getParent()  | 
ResourcePath | 
LatencyCollectionResource.getPath()  | 
ResourcePath | 
ResourceIdentifier.getPath()
Retrieves path for the resource, relative to the root of the
 associated  
RrdRepository. | 
ResourcePath | 
StorageStrategy.getRelativePathForAttribute(ResourcePath resourceParent,
                           String resource)
getRelativePathForAttribute 
 | 
ResourcePath | 
CollectionAgentService.getStorageResourcePath()  | 
ResourcePath | 
CollectionAgent.getStorageResourcePath()  | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
StorageStrategy.getRelativePathForAttribute(ResourcePath resourceParent,
                           String resource)
getRelativePathForAttribute 
 | 
protected abstract void | 
AbstractPersister.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static ResourcePath | 
DefaultCollectionAgentService.createStorageResourcePath(CollectionAgent agent)  | 
ResourcePath | 
DefaultCollectionAgentService.getStorageResourcePath()
getStorageDir 
 | 
ResourcePath | 
DefaultCollectionAgent.getStorageResourcePath()  | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
CollectionAgentDTO.getStorageResourcePath()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
CollectionAgentDTO.setStorageResourcePath(ResourcePath storageResourcePath)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
AbstractEvaluatePersister.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
NewtsPersister.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
void | 
NewtsPersistOperationBuilder.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
BasePersister.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
TcpBasePersister.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
AbstractCollectionResource.getParent()  | 
ResourcePath | 
CollectionResourceWrapper.getParent()
Returns the name of the parent resource. 
 | 
ResourcePath | 
AbstractCollectionResource.getPath()
Retrieves path for the resource, relative to the root of the
 associated  
RrdRepository. | 
ResourcePath | 
CollectionResourceWrapper.getPath()
Retrieves path for the resource, relative to the root of the
 associated  
RrdRepository. | 
ResourcePath | 
IndexStorageStrategy.getRelativePathForAttribute(ResourcePath resourceParent,
                           String instance)
getRelativePathForAttribute 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
IndexStorageStrategy.getRelativePathForAttribute(ResourcePath resourceParent,
                           String instance)
getRelativePathForAttribute 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ResourcePath | 
PerspectiveResponseTimeResource.getPath(CollectionResource resource)  | 
ResourcePath | 
LatencyTypeResource.getPath(CollectionResource resource)  | 
ResourcePath | 
DeferredGenericTypeResource.getPath(CollectionResource resource)  | 
ResourcePath | 
NodeLevelResource.getPath(CollectionResource resource)  | 
ResourcePath | 
Resource.getPath(CollectionResource resource)
Retrieves the path of the resource, relative to the repository root. 
 | 
ResourcePath | 
InterfaceLevelResource.getPath(CollectionResource resource)  | 
ResourcePath | 
GenericTypeResource.getPath(CollectionResource resource)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ResourcePath> | 
EmptyResourceStorageDao.children(ResourcePath path,
        int depth)  | 
Set<ResourcePath> | 
ResourceStorageDao.children(ResourcePath path,
        int depth)
Retrieves the set of child paths one level bellow the given
 path which contain one or more metrics at the given depth. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ResourcePath> | 
EmptyResourceStorageDao.children(ResourcePath path,
        int depth)  | 
Set<ResourcePath> | 
ResourceStorageDao.children(ResourcePath path,
        int depth)
Retrieves the set of child paths one level bellow the given
 path which contain one or more metrics at the given depth. 
 | 
boolean | 
EmptyResourceStorageDao.delete(ResourcePath path)  | 
boolean | 
ResourceStorageDao.delete(ResourcePath path)
Deletes all of the resources and metric bellow
 the given path. 
 | 
boolean | 
EmptyResourceStorageDao.exists(ResourcePath path,
      int depth)  | 
boolean | 
ResourceStorageDao.exists(ResourcePath path,
      int depth)
Verifies if a path contains one or more metrics
 at the given depth. 
 | 
boolean | 
EmptyResourceStorageDao.existsWithin(ResourcePath path,
            int depth)  | 
boolean | 
ResourceStorageDao.existsWithin(ResourcePath path,
            int depth)
Verifies if a path contains one or more metrics within
 the given depth. 
 | 
Set<OnmsAttribute> | 
EmptyResourceStorageDao.getAttributes(ResourcePath path)  | 
Set<OnmsAttribute> | 
ResourceStorageDao.getAttributes(ResourcePath path)
Retrieves the set of (resource-level) attributes stored at the given path. 
 | 
Map<String,String> | 
EmptyResourceStorageDao.getMetaData(ResourcePath path)  | 
Map<String,String> | 
ResourceStorageDao.getMetaData(ResourcePath path)
Retrieves the meta-data stored at the given path. 
 | 
String | 
EmptyResourceStorageDao.getStringAttribute(ResourcePath path,
                  String key)  | 
String | 
ResourceStorageDao.getStringAttribute(ResourcePath path,
                  String key)
Returns the value for the given (resource-level) attribute, or null if it does not exist. 
 | 
Map<String,String> | 
EmptyResourceStorageDao.getStringAttributes(ResourcePath path)  | 
Map<String,String> | 
ResourceStorageDao.getStringAttributes(ResourcePath path)
Returns the value for the given (resource-level) attribute, or null if it does not exist. 
 | 
void | 
EmptyResourceStorageDao.setStringAttribute(ResourcePath path,
                  String key,
                  String value)  | 
void | 
ResourceStorageDao.setStringAttribute(ResourcePath path,
                  String key,
                  String value)
Sets the specified (resource-level) attribute at the given path. 
 | 
void | 
EmptyResourceStorageDao.updateMetricToResourceMappings(ResourcePath path,
                              Map<String,String> metricsNameToResourceNames)  | 
void | 
ResourceStorageDao.updateMetricToResourceMappings(ResourcePath path,
                              Map<String,String> metricsNameToResourceNames)
Maps the given metric names to the their associated resources names. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ResourcePath | 
ResponseTimeResourceType.getInterfacePath(String location,
                String ipAddr)  | 
protected static ResourcePath | 
NodeResourceType.getResourcePathForNode(OnmsNode node)  | 
protected static ResourcePath | 
NewtsResourceStorageDao.toChildResourcePath(ResourcePath parent,
                   String resourceId)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ResourcePath> | 
NewtsResourceStorageDao.children(ResourcePath path,
        int depth)  | 
Set<ResourcePath> | 
FilesystemResourceStorageDao.children(ResourcePath path,
        int depth)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ResourcePath> | 
NewtsResourceStorageDao.children(ResourcePath path,
        int depth)  | 
Set<ResourcePath> | 
FilesystemResourceStorageDao.children(ResourcePath path,
        int depth)  | 
boolean | 
NewtsResourceStorageDao.delete(ResourcePath path)  | 
boolean | 
FilesystemResourceStorageDao.delete(ResourcePath path)  | 
boolean | 
NewtsResourceStorageDao.exists(ResourcePath path,
      int depth)  | 
boolean | 
FilesystemResourceStorageDao.exists(ResourcePath path,
      int depth)  | 
boolean | 
NewtsResourceStorageDao.existsWithin(ResourcePath path,
            int depth)  | 
boolean | 
FilesystemResourceStorageDao.existsWithin(ResourcePath path,
            int depth)  | 
Set<OnmsAttribute> | 
NewtsResourceStorageDao.getAttributes(ResourcePath path)  | 
Set<OnmsAttribute> | 
FilesystemResourceStorageDao.getAttributes(ResourcePath path)  | 
Map<String,String> | 
NewtsResourceStorageDao.getMetaData(ResourcePath path)  | 
Map<String,String> | 
FilesystemResourceStorageDao.getMetaData(ResourcePath path)  | 
OnmsResource | 
GenericIndexResourceType.getResourceByPath(ResourcePath path,
                 OnmsResource parent)  | 
String | 
NewtsResourceStorageDao.getStringAttribute(ResourcePath path,
                  String key)  | 
String | 
FilesystemResourceStorageDao.getStringAttribute(ResourcePath path,
                  String key)  | 
Map<String,String> | 
NewtsResourceStorageDao.getStringAttributes(ResourcePath path)  | 
Map<String,String> | 
FilesystemResourceStorageDao.getStringAttributes(ResourcePath path)  | 
void | 
NewtsResourceStorageDao.setStringAttribute(ResourcePath path,
                  String key,
                  String value)  | 
void | 
FilesystemResourceStorageDao.setStringAttribute(ResourcePath path,
                  String key,
                  String value)  | 
protected static ResourcePath | 
NewtsResourceStorageDao.toChildResourcePath(ResourcePath parent,
                   String resourceId)  | 
void | 
NewtsResourceStorageDao.updateMetricToResourceMappings(ResourcePath path,
                              Map<String,String> metricsNameToResourceNames)  | 
void | 
FilesystemResourceStorageDao.updateMetricToResourceMappings(ResourcePath path,
                              Map<String,String> metricsNameToResourceNames)  | 
| Constructor and Description | 
|---|
LazyResourceAttributeLoader(ResourceStorageDao resourceStorageDao,
                           ResourcePath path)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ResourcePath | 
ResourcePath.fromString(String s)  | 
static ResourcePath | 
ResourcePath.get(Iterable<String> pathElements)
Convenience method. 
 | 
static ResourcePath | 
ResourcePath.get(ResourcePath parent,
   Iterable<String> path)
Convenience method. 
 | 
static ResourcePath | 
ResourcePath.get(ResourcePath parent,
   String... path)
Convenience method. 
 | 
static ResourcePath | 
ResourcePath.get(String... path)
Convenience method. 
 | 
ResourcePath | 
ResourcePath.getParent()  | 
ResourcePath | 
OnmsResource.getPath()  | 
static ResourcePath | 
ResourceTypeUtils.getResourcePathWithRepository(RrdRepository repository,
                             ResourcePath resource)
Retrieves the ResourcePath relative to rrd.base.dir. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
ResourcePath.compareTo(ResourcePath other)  | 
static ResourcePath | 
ResourcePath.get(ResourcePath parent,
   Iterable<String> path)
Convenience method. 
 | 
static ResourcePath | 
ResourcePath.get(ResourcePath parent,
   String... path)
Convenience method. 
 | 
static ResourcePath | 
ResourceTypeUtils.getResourcePathWithRepository(RrdRepository repository,
                             ResourcePath resource)
Retrieves the ResourcePath relative to rrd.base.dir. 
 | 
int | 
ResourcePath.relativeDepth(ResourcePath child)
Determines the relative depth of a child path. 
 | 
static Path | 
ResourcePath.resourceToFilesystemPath(ResourcePath path)
Converts the given resource path to a relative path on filesystem. 
 | 
static String | 
ResourcePath.toString(ResourcePath path)  | 
| Constructor and Description | 
|---|
OnmsResource(String name,
            String label,
            OnmsResourceType resourceType,
            Set<OnmsAttribute> attributes,
            List<OnmsResource> resources,
            ResourcePath path)
Constructor for OnmsResource. 
 | 
OnmsResource(String name,
            String label,
            OnmsResourceType resourceType,
            Set<OnmsAttribute> attributes,
            ResourcePath path)
Constructor for OnmsResource. 
 | 
ResourcePath(ResourcePath parent,
            Iterable<String> path)  | 
ResourcePath(ResourcePath parent,
            String... path)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ResourcePath | 
NewtsUtils.toResourcePath(String resourceId)
Converts a Newts resource id to a  
ResourcePath. | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
NewtsUtils.addIndicesToAttributes(ResourcePath path,
                      Map<String,String> attributes)
Extends the attribute map with indices used by the  
NewtsResourceStorageDao. | 
static org.opennms.newts.api.search.Query | 
NewtsUtils.findResourcesWithMetricsAtDepth(ResourcePath path,
                               int depth)
Constructs a query used to find all of the resources that have
 one or more metrics at the given depth bellow the path. 
 | 
static String | 
NewtsUtils.toResourceId(ResourcePath path)
Converts a  
ResourcePath to a Newts resource id. | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
TimeSeriesMetaDataDao.getForResourcePath(ResourcePath path)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected static ResourcePath | 
TimeseriesResourceStorageDao.toChildResourcePath(ResourcePath parent,
                   String resourceId)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ResourcePath> | 
TimeseriesResourceStorageDao.children(ResourcePath path,
        int depth)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ResourcePath> | 
TimeseriesResourceStorageDao.children(ResourcePath path,
        int depth)  | 
boolean | 
TimeseriesResourceStorageDao.delete(ResourcePath path)  | 
boolean | 
TimeseriesResourceStorageDao.exists(ResourcePath path,
      int depth)  | 
boolean | 
TimeseriesResourceStorageDao.existsWithin(ResourcePath path,
            int depth)  | 
Set<OnmsAttribute> | 
TimeseriesResourceStorageDao.getAttributes(ResourcePath path)  | 
Map<String,String> | 
TimeseriesResourceStorageDao.getMetaData(ResourcePath path)  | 
Map<String,String> | 
TimeseriesSearcher.getResourceAttributes(ResourcePath path)  | 
String | 
TimeseriesResourceStorageDao.getStringAttribute(ResourcePath path,
                  String key)  | 
Map<String,String> | 
TimeseriesResourceStorageDao.getStringAttributes(ResourcePath path)  | 
Set<org.opennms.integration.api.v1.timeseries.Metric> | 
TimeseriesSearcher.search(ResourcePath path,
      int depth)  | 
void | 
TimeseriesResourceStorageDao.setStringAttribute(ResourcePath path,
                  String key,
                  String value)  | 
protected static ResourcePath | 
TimeseriesResourceStorageDao.toChildResourcePath(ResourcePath parent,
                   String resourceId)  | 
void | 
TimeseriesResourceStorageDao.updateMetricToResourceMappings(ResourcePath path,
                              Map<String,String> metricsNameToResourceNames)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
TimeseriesPersister.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
void | 
TimeseriesPersistOperationBuilder.persistStringAttribute(ResourcePath path,
                      String key,
                      String value)  | 
| Constructor and Description | 
|---|
TimeseriesPersister(ServiceParameters params,
                   RrdRepository repository,
                   TimeseriesWriter timeseriesWriter,
                   MetaTagDataLoader metaDataLoader,
                   Cache<ResourcePath,Map<String,String>> metaTagsByResourceCache,
                   com.codahale.metrics.MetricRegistry metricRegistry)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ResourcePath | 
TimeseriesUtils.toResourcePath(String resourceId)
Converts a Newts resource id to a  
ResourcePath. | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
TimeseriesUtils.addIndicesToAttributes(ResourcePath path,
                      Map<String,String> attributes)
Extends the attribute map with indices used by the  
TimeseriesResourceStorageDao. | 
static String | 
TimeseriesUtils.toResourceId(ResourcePath path)
Converts a  
ResourcePath to a Newts resource id. | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
Sftp3gppUtils.getLastFilename(ResourceStorageDao resourceStorageDao,
               String serviceName,
               ResourcePath path,
               String targetPath)
Gets the last filename. 
 | 
static void | 
Sftp3gppUtils.setLastFilename(ResourceStorageDao resourceStorageDao,
               String serviceName,
               ResourcePath path,
               String targetPath,
               String filename)
Sets the last filename. 
 | 
Copyright © 2021. All rights reserved.