org.opennms.netmgt.collectd
Class PersistOperationBuilder
java.lang.Object
org.opennms.netmgt.collectd.PersistOperationBuilder
public class PersistOperationBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_DS_NAME_LENGTH
public static final int MAX_DS_NAME_LENGTH
- See Also:
- Constant Field Values
PersistOperationBuilder
public PersistOperationBuilder(RrdRepository repository,
ResourceIdentifier resource,
String rrdName)
getRepository
public RrdRepository getRepository()
declareAttribute
public void declareAttribute(AttributeDefinition attrType)
setAttributeValue
public void setAttributeValue(AttributeDefinition attrType,
String value)
mapType
public static String mapType(String objectType)
- Static method which takes a MIB object type (counter, counter32,
octetstring, etc...) and returns the appropriate RRD data type. If the
object type cannot be mapped to an RRD type, null is returned. RRD only
supports integer data so MIB objects of type 'octetstring' are not
supported.
- Parameters:
objectType - -
MIB object type to be mapped.
- Returns:
- RRD type string or NULL object type is not supported.
commit
public void commit()
throws RrdException
- Throws:
RrdException
getName
public String getName()
getTimeKeeper
public TimeKeeper getTimeKeeper()
setTimeKeeper
public void setTimeKeeper(TimeKeeper timeKeeper)
Copyright © 2009. All Rights Reserved.