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
|
File |
getResourceDir(RrdRepository repository)
getResourceDir
|
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 File getResourceDir(RrdRepository repository)
getResourceDir
getResourceDir
in interface ResourceIdentifier
getResourceDir
in class AbstractCollectionResource
repository
- a RrdRepository
object.File
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 © 2015. All rights reserved.