public class VmwareCimMultiInstanceCollectionResource extends VmwareCimCollectionResource
m_agent
RESOURCE_TYPE_IF, RESOURCE_TYPE_NODE
Constructor and Description |
---|
VmwareCimMultiInstanceCollectionResource(CollectionAgent agent,
String instance,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getInstance()
Returns the name of the instance this
CollectionResource represents. |
Path |
getPath()
Retrieves path for the resource, relative to the root of the
associated
RrdRepository . |
String |
getResourceTypeName()
Returns a string which indicates what type of resource.
|
String |
toString() |
setAttributeValue
addAttribute, getGroup, getInterfaceLabel, getOwnerName, getParent, getTimeKeeper, rescanNeeded, shouldPersist, visit
public VmwareCimMultiInstanceCollectionResource(CollectionAgent agent, String instance, String name)
public Path getPath()
AbstractCollectionResource
RrdRepository
.getPath
in interface ResourceIdentifier
getPath
in class AbstractCollectionResource
Path
object.public String getResourceTypeName()
CollectionResource
getResourceTypeName
in interface CollectionResource
getResourceTypeName
in class VmwareCimCollectionResource
String
object.public String getInstance()
CollectionResource
CollectionResource
represents. For node level resources, this will be null
to indicate the default instance. For interface level resources, some label unique to the node (ifIndex probably).
For Generic resources (e.g. the SNMP GenericIndexResource
), this will be some identifying label, probably the index in the table.
This value is used by the StorageStrategy
implementations to figure out the label for the resource which
is used in constructing its RRD directory.getInstance
in interface CollectionResource
getInstance
in class VmwareCimCollectionResource
String
object.Copyright © 2017. All rights reserved.