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