Uses of Class
org.opennms.netmgt.model.ResourcePath
-
-
Uses of ResourcePath in org.opennms.core.collection.test
Methods in org.opennms.core.collection.test that return ResourcePath Modifier and Type Method Description ResourcePath
MockCollectionAgent. getStorageResourcePath()
-
Uses of ResourcePath in org.opennms.netmgt.collectd
Methods in org.opennms.netmgt.collectd that return ResourcePath Modifier and Type Method Description ResourcePath
AliasedResource. getParent()
ResourcePath
GenericIndexResource. getParent()
ResourcePath
IfInfo. getParent()
ResourcePath
NodeInfo. getParent()
ResourcePath
AliasedResource. getPath()
ResourcePath
GenericIndexResource. getPath()
ResourcePath
IfInfo. getPath()
ResourcePath
NodeInfo. getPath()
Retrieves path for the resource, relative to the root of the associatedRrdRepository
. -
Uses of ResourcePath in org.opennms.netmgt.collection.api
Methods in org.opennms.netmgt.collection.api that return ResourcePath Modifier and Type Method 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 associatedRrdRepository
.ResourcePath
StorageStrategy. getRelativePathForAttribute(ResourcePath resourceParent, String resource)
getRelativePathForAttributeResourcePath
CollectionAgent. getStorageResourcePath()
ResourcePath
CollectionAgentService. getStorageResourcePath()
Methods in org.opennms.netmgt.collection.api with parameters of type ResourcePath Modifier and Type Method Description ResourcePath
StorageStrategy. getRelativePathForAttribute(ResourcePath resourceParent, String resource)
getRelativePathForAttributeprotected abstract void
AbstractPersister. persistStringAttribute(ResourcePath path, String key, String value)
-
Uses of ResourcePath in org.opennms.netmgt.collection.core
Methods in org.opennms.netmgt.collection.core that return ResourcePath Modifier and Type Method Description protected static ResourcePath
DefaultCollectionAgentService. createStorageResourcePath(CollectionAgent agent)
ResourcePath
DefaultCollectionAgent. getStorageResourcePath()
ResourcePath
DefaultCollectionAgentService. getStorageResourcePath()
getStorageDir -
Uses of ResourcePath in org.opennms.netmgt.collection.dto
Methods in org.opennms.netmgt.collection.dto that return ResourcePath Modifier and Type Method Description ResourcePath
CollectionAgentDTO. getStorageResourcePath()
Methods in org.opennms.netmgt.collection.dto with parameters of type ResourcePath Modifier and Type Method Description void
CollectionAgentDTO. setStorageResourcePath(ResourcePath storageResourcePath)
-
Uses of ResourcePath in org.opennms.netmgt.collection.persistence.evaluate
Methods in org.opennms.netmgt.collection.persistence.evaluate with parameters of type ResourcePath Modifier and Type Method Description protected void
AbstractEvaluatePersister. persistStringAttribute(ResourcePath path, String key, String value)
-
Uses of ResourcePath in org.opennms.netmgt.collection.persistence.newts
Methods in org.opennms.netmgt.collection.persistence.newts with parameters of type ResourcePath Modifier and Type Method Description protected void
NewtsPersister. persistStringAttribute(ResourcePath path, String key, String value)
void
NewtsPersistOperationBuilder. persistStringAttribute(ResourcePath path, String key, String value)
-
Uses of ResourcePath in org.opennms.netmgt.collection.persistence.rrd
Methods in org.opennms.netmgt.collection.persistence.rrd with parameters of type ResourcePath Modifier and Type Method Description protected void
BasePersister. persistStringAttribute(ResourcePath path, String key, String value)
-
Uses of ResourcePath in org.opennms.netmgt.collection.persistence.tcp
Methods in org.opennms.netmgt.collection.persistence.tcp with parameters of type ResourcePath Modifier and Type Method Description protected void
TcpBasePersister. persistStringAttribute(ResourcePath path, String key, String value)
-
Uses of ResourcePath in org.opennms.netmgt.collection.support
Methods in org.opennms.netmgt.collection.support that return ResourcePath Modifier and Type Method 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 associatedRrdRepository
.ResourcePath
CollectionResourceWrapper. getPath()
Retrieves path for the resource, relative to the root of the associatedRrdRepository
.ResourcePath
IndexStorageStrategy. getRelativePathForAttribute(ResourcePath resourceParent, String instance)
getRelativePathForAttributeMethods in org.opennms.netmgt.collection.support with parameters of type ResourcePath Modifier and Type Method Description ResourcePath
IndexStorageStrategy. getRelativePathForAttribute(ResourcePath resourceParent, String instance)
getRelativePathForAttribute -
Uses of ResourcePath in org.opennms.netmgt.collection.support.builder
Methods in org.opennms.netmgt.collection.support.builder that return ResourcePath Modifier and Type Method Description ResourcePath
DeferredGenericTypeResource. getPath(CollectionResource resource)
ResourcePath
GenericTypeResource. getPath(CollectionResource resource)
ResourcePath
InterfaceLevelResource. getPath(CollectionResource resource)
ResourcePath
LatencyTypeResource. getPath(CollectionResource resource)
ResourcePath
NodeLevelResource. getPath(CollectionResource resource)
ResourcePath
PerspectiveResponseTimeResource. getPath(CollectionResource resource)
ResourcePath
Resource. getPath(CollectionResource resource)
Retrieves the path of the resource, relative to the repository root. -
Uses of ResourcePath in org.opennms.netmgt.dao.api
Methods in org.opennms.netmgt.dao.api that return types with arguments of type ResourcePath Modifier and Type Method 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.Methods in org.opennms.netmgt.dao.api with parameters of type ResourcePath Modifier and Type Method 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. -
Uses of ResourcePath in org.opennms.netmgt.dao.support
Methods in org.opennms.netmgt.dao.support that return ResourcePath Modifier and Type Method Description ResourcePath
ServiceResourceType. getInterfacePath(String location, String ipAddr)
protected static ResourcePath
NodeResourceType. getResourcePathForNode(OnmsNode node)
protected static ResourcePath
NewtsResourceStorageDao. toChildResourcePath(ResourcePath parent, String resourceId)
Methods in org.opennms.netmgt.dao.support that return types with arguments of type ResourcePath Modifier and Type Method Description Set<ResourcePath>
FilesystemResourceStorageDao. children(ResourcePath path, int depth)
Set<ResourcePath>
NewtsResourceStorageDao. children(ResourcePath path, int depth)
Methods in org.opennms.netmgt.dao.support with parameters of type ResourcePath Modifier and Type Method Description Set<ResourcePath>
FilesystemResourceStorageDao. children(ResourcePath path, int depth)
Set<ResourcePath>
NewtsResourceStorageDao. children(ResourcePath path, int depth)
boolean
FilesystemResourceStorageDao. delete(ResourcePath path)
boolean
NewtsResourceStorageDao. delete(ResourcePath path)
boolean
FilesystemResourceStorageDao. exists(ResourcePath path, int depth)
boolean
NewtsResourceStorageDao. exists(ResourcePath path, int depth)
boolean
FilesystemResourceStorageDao. existsWithin(ResourcePath path, int depth)
boolean
NewtsResourceStorageDao. existsWithin(ResourcePath path, int depth)
Set<OnmsAttribute>
FilesystemResourceStorageDao. getAttributes(ResourcePath path)
Set<OnmsAttribute>
NewtsResourceStorageDao. getAttributes(ResourcePath path)
Map<String,String>
FilesystemResourceStorageDao. getMetaData(ResourcePath path)
Map<String,String>
NewtsResourceStorageDao. getMetaData(ResourcePath path)
OnmsResource
GenericIndexResourceType. getResourceByPath(ResourcePath path, OnmsResource parent)
String
FilesystemResourceStorageDao. getStringAttribute(ResourcePath path, String key)
String
NewtsResourceStorageDao. getStringAttribute(ResourcePath path, String key)
Map<String,String>
FilesystemResourceStorageDao. getStringAttributes(ResourcePath path)
Map<String,String>
NewtsResourceStorageDao. getStringAttributes(ResourcePath path)
void
FilesystemResourceStorageDao. setStringAttribute(ResourcePath path, String key, String value)
void
NewtsResourceStorageDao. setStringAttribute(ResourcePath path, String key, String value)
protected static ResourcePath
NewtsResourceStorageDao. toChildResourcePath(ResourcePath parent, String resourceId)
void
FilesystemResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, Map<String,String> metricsNameToResourceNames)
void
NewtsResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, Map<String,String> metricsNameToResourceNames)
Constructors in org.opennms.netmgt.dao.support with parameters of type ResourcePath Constructor Description LazyResourceAttributeLoader(ResourceStorageDao resourceStorageDao, ResourcePath path)
-
Uses of ResourcePath in org.opennms.netmgt.model
Methods in org.opennms.netmgt.model that return ResourcePath Modifier and Type Method Description static ResourcePath
ResourcePath. fromString(String s)
static ResourcePath
ResourcePath. get(Iterable<String> pathElements)
Convenience method.static ResourcePath
ResourcePath. get(String... path)
Convenience method.static ResourcePath
ResourcePath. get(ResourcePath parent, Iterable<String> path)
Convenience method.static ResourcePath
ResourcePath. get(ResourcePath parent, 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.Methods in org.opennms.netmgt.model with parameters of type ResourcePath Modifier and Type Method 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)
Constructors in org.opennms.netmgt.model with parameters of type ResourcePath Constructor 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> pathElements)
ResourcePath(ResourcePath parent, String... path)
-
Uses of ResourcePath in org.opennms.netmgt.newts.support
Methods in org.opennms.netmgt.newts.support that return ResourcePath Modifier and Type Method Description static ResourcePath
NewtsUtils. toResourcePath(String resourceId)
Converts a Newts resource id to aResourcePath
.Methods in org.opennms.netmgt.newts.support with parameters of type ResourcePath Modifier and Type Method Description static void
NewtsUtils. addIndicesToAttributes(ResourcePath path, Map<String,String> attributes)
Extends the attribute map with indices used by theNewtsResourceStorageDao
.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 aResourcePath
to a Newts resource id. -
Uses of ResourcePath in org.opennms.netmgt.timeseries.resource
Methods in org.opennms.netmgt.timeseries.resource that return ResourcePath Modifier and Type Method Description protected static ResourcePath
TimeseriesResourceStorageDao. toChildResourcePath(ResourcePath parent, String resourceId)
Methods in org.opennms.netmgt.timeseries.resource that return types with arguments of type ResourcePath Modifier and Type Method Description Set<ResourcePath>
TimeseriesResourceStorageDao. children(ResourcePath path, int depth)
Methods in org.opennms.netmgt.timeseries.resource with parameters of type ResourcePath Modifier and Type Method 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)
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)
-
Uses of ResourcePath in org.opennms.netmgt.timeseries.samplewrite
Methods in org.opennms.netmgt.timeseries.samplewrite with parameters of type ResourcePath Modifier and Type Method Description protected void
TimeseriesPersister. persistStringAttribute(ResourcePath path, String key, String value)
void
TimeseriesPersistOperationBuilder. persistStringAttribute(ResourcePath path, String key, String value)
Persists a String attribute that is associated to a ResourcePath (resourceId)void
TimeseriesPersistOperationBuilder. persistStringAttributeForMetricLevel(ResourcePath path, String metricName, String key, String value)
Persists a String attribute that is associated to a Metric (resourceId & name)Constructor parameters in org.opennms.netmgt.timeseries.samplewrite with type arguments of type ResourcePath Constructor Description TimeseriesPersister(ServiceParameters params, RrdRepository repository, TimeseriesWriter timeseriesWriter, MetaTagDataLoader metaDataLoader, Cache<ResourcePath,Set<org.opennms.integration.api.v1.timeseries.Tag>> configuredAdditionalMetaTagCache, com.codahale.metrics.MetricRegistry metricRegistry)
-
Uses of ResourcePath in org.opennms.netmgt.timeseries.util
Methods in org.opennms.netmgt.timeseries.util that return ResourcePath Modifier and Type Method Description static ResourcePath
TimeseriesUtils. toResourcePath(String resourceId)
Converts a String to aResourcePath
.Methods in org.opennms.netmgt.timeseries.util with parameters of type ResourcePath Modifier and Type Method Description static String
TimeseriesUtils. toResourceId(ResourcePath path)
Converts aResourcePath
to a String.static String
TimeseriesUtils. toSearchRegex(ResourcePath path, int depth)
-
Uses of ResourcePath in org.opennms.protocols.xml.collector
Methods in org.opennms.protocols.xml.collector with parameters of type ResourcePath Modifier and Type Method Description static String
Sftp3gppUtils. getCacheId(ResourcePath path, String serviceName, String targetPath)
Gets the cache id.static String
Sftp3gppUtils. getLastFilename(BlobStore blobStore, String serviceName, ResourcePath path, String targetPath)
Gets the last filename.static void
Sftp3gppUtils. setLastFilename(BlobStore blobStore, String serviceName, ResourcePath path, String targetPath, String filename)
Sets the last filename.
-