Interface PersistOperationBuilder
-
- All Known Implementing Classes:
EvaluatorPersistOperationBuilder,NewtsPersistOperationBuilder,RrdPersistOperationBuilder,TcpPersistOperationBuilder,TimeseriesPersistOperationBuilder
public interface PersistOperationBuilderUsed by theAbstractPersisterto persist numeric attributes.- Author:
- jwhite
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcommit()Persists the attribute values and meta-data.StringgetName()Used to identify the builder in log messages in an exception is thrown during a call to commit().voidsetAttributeMetadata(String metricIdentifier, String name)voidsetAttributeValue(CollectionAttributeType attributeType, Number value)
-
-
-
Method Detail
-
getName
String getName()
Used to identify the builder in log messages in an exception is thrown during a call to commit().
-
setAttributeValue
void setAttributeValue(CollectionAttributeType attributeType, Number value)
-
commit
void commit() throws PersistExceptionPersists the attribute values and meta-data.- Throws:
PersistException- if an error occurs while persisting the attribute
-
-