getInterval method Null safety

int getInterval()

Gets the counters dump/save interval.

Return the interval in milliseconds.