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, java.lang.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, java.lang.String resource)
getRelativePathForAttributeprotected abstract void
AbstractPersister. persistStringAttribute(ResourcePath path, java.lang.String key, java.lang.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, java.lang.String key, java.lang.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, java.lang.String key, java.lang.String value)
void
NewtsPersistOperationBuilder. persistStringAttribute(ResourcePath path, java.lang.String key, java.lang.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, java.lang.String key, java.lang.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, java.lang.String key, java.lang.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, java.lang.String instance)
getRelativePathForAttributeMethods in org.opennms.netmgt.collection.support with parameters of type ResourcePath Modifier and Type Method Description ResourcePath
IndexStorageStrategy. getRelativePathForAttribute(ResourcePath resourceParent, java.lang.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 java.util.Set<ResourcePath>
EmptyResourceStorageDao. children(ResourcePath path, int depth)
java.util.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 java.util.Set<ResourcePath>
EmptyResourceStorageDao. children(ResourcePath path, int depth)
java.util.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.java.util.Set<OnmsAttribute>
EmptyResourceStorageDao. getAttributes(ResourcePath path)
java.util.Set<OnmsAttribute>
ResourceStorageDao. getAttributes(ResourcePath path)
Retrieves the set of (resource-level) attributes stored at the given path.java.util.Map<java.lang.String,java.lang.String>
EmptyResourceStorageDao. getMetaData(ResourcePath path)
java.util.Map<java.lang.String,java.lang.String>
ResourceStorageDao. getMetaData(ResourcePath path)
Retrieves the meta-data stored at the given path.java.lang.String
EmptyResourceStorageDao. getStringAttribute(ResourcePath path, java.lang.String key)
java.lang.String
ResourceStorageDao. getStringAttribute(ResourcePath path, java.lang.String key)
Returns the value for the given (resource-level) attribute, or null if it does not exist.java.util.Map<java.lang.String,java.lang.String>
EmptyResourceStorageDao. getStringAttributes(ResourcePath path)
java.util.Map<java.lang.String,java.lang.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, java.lang.String key, java.lang.String value)
void
ResourceStorageDao. setStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
Sets the specified (resource-level) attribute at the given path.void
EmptyResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, java.util.Map<java.lang.String,java.lang.String> metricsNameToResourceNames)
void
ResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, java.util.Map<java.lang.String,java.lang.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(java.lang.String location, java.lang.String ipAddr)
protected static ResourcePath
NodeResourceType. getResourcePathForNode(OnmsNode node)
protected static ResourcePath
NewtsResourceStorageDao. toChildResourcePath(ResourcePath parent, java.lang.String resourceId)
Methods in org.opennms.netmgt.dao.support that return types with arguments of type ResourcePath Modifier and Type Method Description java.util.Set<ResourcePath>
FilesystemResourceStorageDao. children(ResourcePath path, int depth)
java.util.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 java.util.Set<ResourcePath>
FilesystemResourceStorageDao. children(ResourcePath path, int depth)
java.util.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)
java.util.Set<OnmsAttribute>
FilesystemResourceStorageDao. getAttributes(ResourcePath path)
java.util.Set<OnmsAttribute>
NewtsResourceStorageDao. getAttributes(ResourcePath path)
java.util.Map<java.lang.String,java.lang.String>
FilesystemResourceStorageDao. getMetaData(ResourcePath path)
java.util.Map<java.lang.String,java.lang.String>
NewtsResourceStorageDao. getMetaData(ResourcePath path)
OnmsResource
GenericIndexResourceType. getResourceByPath(ResourcePath path, OnmsResource parent)
java.lang.String
FilesystemResourceStorageDao. getStringAttribute(ResourcePath path, java.lang.String key)
java.lang.String
NewtsResourceStorageDao. getStringAttribute(ResourcePath path, java.lang.String key)
java.util.Map<java.lang.String,java.lang.String>
FilesystemResourceStorageDao. getStringAttributes(ResourcePath path)
java.util.Map<java.lang.String,java.lang.String>
NewtsResourceStorageDao. getStringAttributes(ResourcePath path)
void
FilesystemResourceStorageDao. setStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
void
NewtsResourceStorageDao. setStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
protected static ResourcePath
NewtsResourceStorageDao. toChildResourcePath(ResourcePath parent, java.lang.String resourceId)
void
FilesystemResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, java.util.Map<java.lang.String,java.lang.String> metricsNameToResourceNames)
void
NewtsResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, java.util.Map<java.lang.String,java.lang.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(java.lang.String s)
static ResourcePath
ResourcePath. get(java.lang.Iterable<java.lang.String> pathElements)
Convenience method.static ResourcePath
ResourcePath. get(java.lang.String... path)
Convenience method.static ResourcePath
ResourcePath. get(ResourcePath parent, java.lang.Iterable<java.lang.String> path)
Convenience method.static ResourcePath
ResourcePath. get(ResourcePath parent, java.lang.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, java.lang.Iterable<java.lang.String> path)
Convenience method.static ResourcePath
ResourcePath. get(ResourcePath parent, java.lang.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 java.nio.file.Path
ResourcePath. resourceToFilesystemPath(ResourcePath path)
Converts the given resource path to a relative path on filesystem.static java.lang.String
ResourcePath. toString(ResourcePath path)
Constructors in org.opennms.netmgt.model with parameters of type ResourcePath Constructor Description OnmsResource(java.lang.String name, java.lang.String label, OnmsResourceType resourceType, java.util.Set<OnmsAttribute> attributes, java.util.List<OnmsResource> resources, ResourcePath path)
Constructor for OnmsResource.OnmsResource(java.lang.String name, java.lang.String label, OnmsResourceType resourceType, java.util.Set<OnmsAttribute> attributes, ResourcePath path)
Constructor for OnmsResource.ResourcePath(ResourcePath parent, java.lang.Iterable<java.lang.String> pathElements)
ResourcePath(ResourcePath parent, java.lang.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(java.lang.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, java.util.Map<java.lang.String,java.lang.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 java.lang.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, java.lang.String resourceId)
Methods in org.opennms.netmgt.timeseries.resource that return types with arguments of type ResourcePath Modifier and Type Method Description java.util.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 java.util.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)
java.util.Set<OnmsAttribute>
TimeseriesResourceStorageDao. getAttributes(ResourcePath path)
java.util.Map<java.lang.String,java.lang.String>
TimeseriesResourceStorageDao. getMetaData(ResourcePath path)
java.lang.String
TimeseriesResourceStorageDao. getStringAttribute(ResourcePath path, java.lang.String key)
java.util.Map<java.lang.String,java.lang.String>
TimeseriesResourceStorageDao. getStringAttributes(ResourcePath path)
java.util.Set<org.opennms.integration.api.v1.timeseries.Metric>
TimeseriesSearcher. search(ResourcePath path, int depth)
void
TimeseriesResourceStorageDao. setStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
protected static ResourcePath
TimeseriesResourceStorageDao. toChildResourcePath(ResourcePath parent, java.lang.String resourceId)
void
TimeseriesResourceStorageDao. updateMetricToResourceMappings(ResourcePath path, java.util.Map<java.lang.String,java.lang.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, java.lang.String key, java.lang.String value)
void
TimeseriesPersistOperationBuilder. persistStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
Persists a String attribute that is associated to a ResourcePath (resourceId)void
TimeseriesPersistOperationBuilder. persistStringAttributeForMetricLevel(ResourcePath path, java.lang.String metricName, java.lang.String key, java.lang.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,java.util.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(java.lang.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 java.lang.String
TimeseriesUtils. toResourceId(ResourcePath path)
Converts aResourcePath
to a String.static java.lang.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 java.lang.String
Sftp3gppUtils. getCacheId(ResourcePath path, java.lang.String serviceName, java.lang.String targetPath)
Gets the cache id.static java.lang.String
Sftp3gppUtils. getLastFilename(BlobStore blobStore, java.lang.String serviceName, ResourcePath path, java.lang.String targetPath)
Gets the last filename.static void
Sftp3gppUtils. setLastFilename(BlobStore blobStore, java.lang.String serviceName, ResourcePath path, java.lang.String targetPath, java.lang.String filename)
Sets the last filename.
-