Package com.nt.udc.ndk.processor
Interface UnifiedStatisticsMonitorIfc
- All Superinterfaces:
DiscardedStatisticsMonitorIfc,DuplicateStatisticsMonitorIfc,InputStatisticsMonitorIfc,OutputStatisticsMonitorIfc,ReadOnlyStatisticsMonitorIfc,StoredStatisticsMonitorIfc
- All Known Implementing Classes:
DisabledStatisticsMonitor,StatisticsMonitor,TachyonTNCStatisticsMonitor,TNCStatisticsMonitor
public interface UnifiedStatisticsMonitorIfc
extends InputStatisticsMonitorIfc, OutputStatisticsMonitorIfc, ReadOnlyStatisticsMonitorIfc, StoredStatisticsMonitorIfc, DuplicateStatisticsMonitorIfc, DiscardedStatisticsMonitorIfc
Convenience interface to group all the Statistics Monitor interfaces together
so that the concrete classes can implement this interface instead, and so
that the DCNode can have an object of this class, instead of one of the
concrete classes.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReadOnlyStatisticsMonitorIfcgetData()reset()Simultaneously make a new copy of this object with all the current statistics, and reset the current stats to 0 (and begintime to current time).Methods inherited from interface com.nt.udc.ndk.processor.DiscardedStatisticsMonitorIfc
beginDiscardedConditional, endDiscardedConditional, incrementDiscarded, incrementDiscardedConditionalMethods inherited from interface com.nt.udc.ndk.processor.DuplicateStatisticsMonitorIfc
incrementDuplicateMethods inherited from interface com.nt.udc.ndk.processor.InputStatisticsMonitorIfc
incrementIn, incrementIn, setCountsSuspectMethods inherited from interface com.nt.udc.ndk.processor.OutputStatisticsMonitorIfc
incrementOutMethods inherited from interface com.nt.udc.ndk.processor.ReadOnlyStatisticsMonitorIfc
getBeginTime, getDiscardedCount, getDuplicateCount, getEndTime, getInputCount, getOutputCount, getStoredCount, isCountsSuspect, isEnabledMethods inherited from interface com.nt.udc.ndk.processor.StoredStatisticsMonitorIfc
decrementStored, incrementStored
-
Method Details
-
reset
ReadOnlyStatisticsMonitorIfc reset()Simultaneously make a new copy of this object with all the current statistics, and reset the current stats to 0 (and begintime to current time).- Returns:
- A read-only copy of the current stats.
-
getData
-