public synchronized void reset() {
        intervalIndex = 0;
    }
Backoff Retry Counter to count when to retry next during reconnection
modules/siddhi-core/src/main/java/io/siddhi/core/util/transport/BackoffRetryCounter.java