/** * Sets the maximum number of retries before an operation can be failed. * * @param maxRetries the maximum number of retries before an operation can be failed * @return the proxy builder */ public MultiRaftProtocolBuilder withMaxRetries(int maxRetries) { config.setMaxRetries(maxRetries); return this; }