Class OneToOnePersister
- java.lang.Object
-
- org.opennms.netmgt.collection.support.AbstractCollectionSetVisitor
-
- org.opennms.netmgt.collection.api.AbstractPersister
-
- org.opennms.netmgt.collection.persistence.rrd.BasePersister
-
- org.opennms.netmgt.collection.persistence.rrd.OneToOnePersister
-
- All Implemented Interfaces:
CollectionSetVisitor
,Persister
public class OneToOnePersister extends BasePersister
OneToOnePersister class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.collection.persistence.rrd.BasePersister
LOG, m_resourceStorageDao
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OneToOnePersister(ServiceParameters params, RrdRepository repository, RrdStrategy<?,?> rrdStrategy, ResourceStorageDao resourceStorageDao)
Constructor for OneToOnePersister.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completeAttribute(CollectionAttribute attribute)
completeAttributevoid
visitAttribute(CollectionAttribute attribute)
visitAttributevoid
visitGroup(AttributeGroup group)
visitGroup-
Methods inherited from class org.opennms.netmgt.collection.persistence.rrd.BasePersister
createBuilder, getDontReorderAttributes, getRrdStrategy, persistStringAttribute, setBuilder, setDontReorderAttributes
-
Methods inherited from class org.opennms.netmgt.collection.api.AbstractPersister
commitBuilder, completeGroup, completeResource, getRepository, isIgnorePersist, persistNumericAttribute, persistStringAttribute, popShouldPersist, pushShouldPersist, pushShouldPersist, pushShouldPersist, setBuilder, setIgnorePersist, setRepository, shouldPersist, storeAttribute, 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
-
OneToOnePersister
protected OneToOnePersister(ServiceParameters params, RrdRepository repository, RrdStrategy<?,?> rrdStrategy, ResourceStorageDao resourceStorageDao)
Constructor for OneToOnePersister.
- Parameters:
params
- aServiceParameters
object.repository
- aRrdRepository
object.
-
-
Method Detail
-
visitAttribute
public void visitAttribute(CollectionAttribute attribute)
visitAttribute
- Specified by:
visitAttribute
in interfaceCollectionSetVisitor
- Overrides:
visitAttribute
in classAbstractPersister
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
completeAttribute
public void completeAttribute(CollectionAttribute attribute)
completeAttribute
- Specified by:
completeAttribute
in interfaceCollectionSetVisitor
- Overrides:
completeAttribute
in classAbstractPersister
- Parameters:
attribute
- aorg.opennms.netmgt.collection.api.collectd.CollectionAttribute
object.
-
visitGroup
public void visitGroup(AttributeGroup group)
visitGroup
- Specified by:
visitGroup
in interfaceCollectionSetVisitor
- Overrides:
visitGroup
in classAbstractPersister
- Parameters:
group
- aorg.opennms.netmgt.collectd.AttributeGroup
object.
-
-