|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.collectd.PersistOperationBuilder
public class PersistOperationBuilder
PersistOperationBuilder class.
| Field Summary | |
|---|---|
static int |
MAX_DS_NAME_LENGTH
Constant MAX_DS_NAME_LENGTH=19 |
| Constructor Summary | |
|---|---|
PersistOperationBuilder(RrdRepository repository,
ResourceIdentifier resource,
String rrdName)
Constructor for PersistOperationBuilder. |
|
| Method Summary | |
|---|---|
void |
commit()
commit |
void |
declareAttribute(AttributeDefinition attrType)
declareAttribute |
String |
getName()
getName |
RrdRepository |
getRepository()
getRepository |
TimeKeeper |
getTimeKeeper()
getTimeKeeper |
static String |
mapType(String objectType)
Static method which takes a MIB object type (counter, counter32, octetstring, etc...) and returns the appropriate RRD data type. |
void |
setAttributeValue(AttributeDefinition attrType,
String value)
setAttributeValue |
void |
setTimeKeeper(TimeKeeper timeKeeper)
setTimeKeeper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_DS_NAME_LENGTH
MAX_DS_NAME_LENGTH=19
| Constructor Detail |
|---|
public PersistOperationBuilder(RrdRepository repository,
ResourceIdentifier resource,
String rrdName)
Constructor for PersistOperationBuilder.
repository - a RrdRepository object.resource - a ResourceIdentifier object.rrdName - a String object.| Method Detail |
|---|
public RrdRepository getRepository()
getRepository
RrdRepository object.public void declareAttribute(AttributeDefinition attrType)
declareAttribute
attrType - a AttributeDefinition object.
public void setAttributeValue(AttributeDefinition attrType,
String value)
setAttributeValue
attrType - a AttributeDefinition object.value - a String object.public static String mapType(String objectType)
objectType - -
MIB object type to be mapped.
public void commit()
throws RrdException
commit
RrdException - if any.public String getName()
getName
String object.public TimeKeeper getTimeKeeper()
getTimeKeeper
TimeKeeper object.public void setTimeKeeper(TimeKeeper timeKeeper)
setTimeKeeper
timeKeeper - a TimeKeeper object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||