org.opennms.netmgt.collectd
Interface CollectionSet

All Known Implementing Classes:
HttpCollector.HttpCollectionSet, JdbcCollectionSet, SnmpCollectionSet, WmiCollectionSet, XmpCollectionSet

public interface CollectionSet

CollectionSet interface.

Version:
$Id: $
Author:
ranger

Method Summary
 Date getCollectionTimestamp()
          Returns the timestamp of when this data collection was taken.
 int getStatus()
          getStatus
 boolean ignorePersist()
          ignorePersist
 void visit(CollectionSetVisitor visitor)
          Provide a way to visit all the values in the CollectionSet, for any appropriate purposes (persisting, thresholding, or others) The expectation is that calling this method will ultimately call visitResource, visitGroup and visitAttribute (as appropriate)
 

Method Detail

getStatus

int getStatus()

getStatus

Returns:
an int (one of the ServiceCollector.COLLECTION_ values)

visit

void visit(CollectionSetVisitor visitor)
Provide a way to visit all the values in the CollectionSet, for any appropriate purposes (persisting, thresholding, or others) The expectation is that calling this method will ultimately call visitResource, visitGroup and visitAttribute (as appropriate)

Parameters:
visitor - a CollectionSetVisitor object.

ignorePersist

boolean ignorePersist()

ignorePersist

Returns:
a boolean.

getCollectionTimestamp

Date getCollectionTimestamp()
Returns the timestamp of when this data collection was taken. Used by thresholding

Returns:


Copyright © 2011. All Rights Reserved.