static int addVarianceToInterval(int interval) {
    if (1 <= interval) {
      final SplittableRandom random = new SplittableRandom();
      final int variance = (interval < 10) ? 1 : (1 + random.nextInt((interval / 10) - 1));
      final int sign = random.nextBoolean() ? 1 : -1;
      return interval + (sign * variance);
    }
    return interval;
  }
Adds an arbitrary variance to a positive temporal interval. Where possible, 10% of the interval
is added or subtracted from the interval. Otherwise, 1 is added or subtracted from the
interval. For all positive intervals, the returned value will <bold>not</bold> equal the
supplied interval.

@param interval Positive temporal interval.
@return Adjusted interval including the variance for positive intervals; the unmodified
        interval for non-positive intervals.
geode-core/src/main/java/org/apache/geode/cache/client/internal/pooling/ConnectionManagerImpl.java