class DoublingRetrySchedule implements RetrySchedule {

    @Override
    public long getInterval(int index) {
        if (startInterval > 0) {
            return getInterval(index, startInterval);
        }
        return index == 0 ? 0 : getInterval(index - 1, 1);
    }

    private  DoublingRetrySchedule();
    public  DoublingRetrySchedule(long startInterval, long maxInterval);
    public  DoublingRetrySchedule(long startInterval, long maxInterval, int multiplier);

}