public class WmiMultiInstanceCollectionResource extends WmiCollectionResource
WmiMultiInstanceCollectionResource class.
m_agent
RESOURCE_TYPE_IF, RESOURCE_TYPE_NODE
Constructor and Description |
---|
WmiMultiInstanceCollectionResource(CollectionAgent agent,
String instance,
WmiResourceType type)
Constructor for WmiMultiInstanceCollectionResource.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstance()
getInstance
|
String |
getInterfaceLabel()
getInterfaceLabel
|
Path |
getPath()
Retrieves path for the resource, relative to the root of the
associated
RrdRepository . |
String |
getResourceTypeName()
getResourceTypeName
|
boolean |
shouldPersist(ServiceParameters params)
Resources should be persisted by default.
|
String |
toString() |
setAttributeValue
addAttribute, getGroup, getOwnerName, getParent, getTimeKeeper, rescanNeeded, visit
public WmiMultiInstanceCollectionResource(CollectionAgent agent, String instance, WmiResourceType type)
Constructor for WmiMultiInstanceCollectionResource.
agent
- a CollectionAgent
object.instance
- a String
object.type
- a String
object.public boolean shouldPersist(ServiceParameters params)
AbstractCollectionResource
shouldPersist
in interface Persistable
shouldPersist
in class AbstractCollectionResource
params
- a ServiceParameters
object.public Path getPath()
RrdRepository
.getPath
in interface ResourceIdentifier
getPath
in class AbstractCollectionResource
Path
object.public String getResourceTypeName()
getResourceTypeName
getResourceTypeName
in interface CollectionResource
getResourceTypeName
in class WmiCollectionResource
String
object.public String getInstance()
getInstance
getInstance
in interface CollectionResource
getInstance
in class WmiCollectionResource
String
object.public String getInterfaceLabel()
AbstractCollectionResource
getInterfaceLabel
getInterfaceLabel
in interface CollectionResource
getInterfaceLabel
in class AbstractCollectionResource
String
object.Copyright © 2017. All rights reserved.