public class VmwareDatacollectionConfigDaoJaxb extends AbstractJaxbConfigDao<VmwareDatacollectionConfig,VmwareDatacollectionConfig> implements VmwareDatacollectionConfigDao
AbstractJaxbConfigDao.JaxbReloadCallback
Constructor and Description |
---|
VmwareDatacollectionConfigDaoJaxb()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
VmwareDatacollectionConfig |
getConfig()
Returns the loaded config object.
|
String |
getRrdPath()
Returns the base Rrd's path.
|
RrdRepository |
getRrdRepository(String collectionName)
Returns the Rrd repository for a given collection name.
|
VmwareCollection |
getVmwareCollection(String collectionName)
This method returns a subset of the configuration data for a given collection name.
|
VmwareDatacollectionConfig |
translateConfig(VmwareDatacollectionConfig jaxbConfig)
Used to transform the config object to a custom representation.
|
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckInterval
public VmwareDatacollectionConfigDaoJaxb()
public VmwareDatacollectionConfig getConfig()
getConfig
in interface VmwareDatacollectionConfigDao
public VmwareDatacollectionConfig translateConfig(VmwareDatacollectionConfig jaxbConfig)
translateConfig
in class AbstractJaxbConfigDao<VmwareDatacollectionConfig,VmwareDatacollectionConfig>
jaxbConfig
- a config object.public VmwareCollection getVmwareCollection(String collectionName)
getVmwareCollection
in interface VmwareDatacollectionConfigDao
collectionName
- the collection's namepublic RrdRepository getRrdRepository(String collectionName)
getRrdRepository
in interface VmwareDatacollectionConfigDao
collectionName
- the collection's namepublic String getRrdPath()
getRrdPath
in interface VmwareDatacollectionConfigDao
Copyright © 2021. All rights reserved.