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 ReadOnlyStatisticsMonitorIfc
getData()
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, incrementDiscardedConditional
Methods inherited from interface com.nt.udc.ndk.processor.DuplicateStatisticsMonitorIfc
incrementDuplicate
Methods inherited from interface com.nt.udc.ndk.processor.InputStatisticsMonitorIfc
incrementIn, incrementIn, setCountsSuspect
Methods inherited from interface com.nt.udc.ndk.processor.OutputStatisticsMonitorIfc
incrementOut
Methods inherited from interface com.nt.udc.ndk.processor.ReadOnlyStatisticsMonitorIfc
getBeginTime, getDiscardedCount, getDuplicateCount, getEndTime, getInputCount, getOutputCount, getStoredCount, isCountsSuspect, isEnabled
Methods 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
-