Package org.opennms.util.ilr
Class ServiceCollector
- java.lang.Object
-
- org.opennms.util.ilr.ServiceCollector
-
public class ServiceCollector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServiceCollector(java.lang.String serviceID)
-
Method Summary
-
-
-
Method Detail
-
getServiceID
public java.lang.String getServiceID()
-
addMessage
public void addMessage(LogMessage msg)
-
getParsedServiceID
public java.lang.String getParsedServiceID()
-
getCollectionCount
public int getCollectionCount()
-
getErrorCollectionCount
public int getErrorCollectionCount()
-
getPersistCount
public int getPersistCount()
-
getTotalCollectionTime
public long getTotalCollectionTime()
-
getTotalCollectionDuration
public Duration getTotalCollectionDuration()
-
getErrorCollectionTime
public long getErrorCollectionTime()
-
getErrorCollectionDuration
public Duration getErrorCollectionDuration()
-
getSuccessfulCollectionTime
public long getSuccessfulCollectionTime()
-
getSuccessfulCollectionDuration
public Duration getSuccessfulCollectionDuration()
-
getTotalPersistTime
public long getTotalPersistTime()
-
getTotalPersistDuration
public Duration getTotalPersistDuration()
-
getSuccessfulCollectionCount
public int getSuccessfulCollectionCount()
-
getSuccessPercentage
public double getSuccessPercentage()
-
getErrorPercentage
public double getErrorPercentage()
-
getAverageCollectionTime
public long getAverageCollectionTime()
-
getAverageCollectionDuration
public Duration getAverageCollectionDuration()
-
getAveragePersistTime
public long getAveragePersistTime()
-
getAveragePersistDuration
public Duration getAveragePersistDuration()
-
getAverageErrorCollectionTime
public long getAverageErrorCollectionTime()
-
getAverageErrorCollectionDuration
public Duration getAverageErrorCollectionDuration()
-
getAverageSuccessfulCollectionTime
public long getAverageSuccessfulCollectionTime()
-
getAverageSuccessfulCollectionDuration
public Duration getAverageSuccessfulCollectionDuration()
-
getAverageTimeBetweenCollections
public long getAverageTimeBetweenCollections()
-
getAverageDurationBetweenCollections
public Duration getAverageDurationBetweenCollections()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-