public IcmpFailureDetectorConfig setIntervalMilliseconds(int intervalMilliseconds) {
        if (intervalMilliseconds < MIN_INTERVAL_MILLIS) {
            throw new ConfigurationException(format("Interval can't be set to less than %d milliseconds.", MIN_INTERVAL_MILLIS));
        }

        this.intervalMilliseconds = intervalMilliseconds;
        return this;
    }
public IcmpFailureDetectorConfig setIntervalMilliseconds ( int intervalMilliseconds ) { if ( intervalMilliseconds < MIN_INTERVAL_MILLIS ) { throw new ConfigurationException ( format ( "Interval can't be set to less than %d milliseconds." , MIN_INTERVAL_MILLIS ) ) ; } this . intervalMilliseconds = intervalMilliseconds ; return this ; }
Sets the time in milliseconds between each ping
This value can not be smaller than 1000 milliseconds

@param intervalMilliseconds the interval millis between each ping
@return this {@link IcmpFailureDetectorConfig} instance