Class TcpBasePersister
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionSetVisitor
-
- org.opennms.netmgt.collection.api.AbstractPersister
-
- org.opennms.netmgt.collection.persistence.tcp.TcpBasePersister
-
- All Implemented Interfaces:
CollectionSetVisitor
,Persister
- Direct Known Subclasses:
TcpGroupPersister
,TcpSinglePersister
public class TcpBasePersister extends AbstractPersister
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Modifier Constructor Description protected
TcpBasePersister(ServiceParameters params, RrdRepository repository, TcpOutputStrategy tcpStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TcpPersistOperationBuilder
createBuilder(CollectionResource resource, java.lang.String name, java.util.Set<CollectionAttributeType> attributeTypes)
TcpOutputStrategy
getTcpStrategy()
protected void
persistStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
protected void
setBuilder(TcpPersistOperationBuilder builder)
-
Methods inherited from class org.opennms.netmgt.collection.api.AbstractPersister
commitBuilder, completeAttribute, completeGroup, completeResource, getRepository, isIgnorePersist, persistNumericAttribute, persistStringAttribute, popShouldPersist, pushShouldPersist, pushShouldPersist, pushShouldPersist, setBuilder, setIgnorePersist, setRepository, shouldPersist, storeAttribute, visitAttribute, visitGroup, visitResource
-
Methods inherited from class org.opennms.netmgt.collection.support.AbstractCollectionSetVisitor
completeCollectionSet, visitCollectionSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.collection.api.CollectionSetVisitor
completeCollectionSet, visitCollectionSet
-
-
-
-
Constructor Detail
-
TcpBasePersister
protected TcpBasePersister(ServiceParameters params, RrdRepository repository, TcpOutputStrategy tcpStrategy)
-
-
Method Detail
-
persistStringAttribute
protected void persistStringAttribute(ResourcePath path, java.lang.String key, java.lang.String value)
- Specified by:
persistStringAttribute
in classAbstractPersister
-
createBuilder
protected TcpPersistOperationBuilder createBuilder(CollectionResource resource, java.lang.String name, java.util.Set<CollectionAttributeType> attributeTypes)
-
setBuilder
protected void setBuilder(TcpPersistOperationBuilder builder)
-
getTcpStrategy
public TcpOutputStrategy getTcpStrategy()
-
-