/** * Set the number of times to retry a request after timeout/exception. * * @param retryAttempts The number of times to retry a request after timeout/exception. -1 * indicates that a request should be tried against every available server before failing * @return a reference to <code>this</code> * @throws IllegalArgumentException if <code>idleTimout</code> is less than <code>-1</code>. */ public ClientCacheFactory setPoolRetryAttempts(int retryAttempts) { getPoolFactory().setRetryAttempts(retryAttempts); return this; }
f.setRetryAttempts(parseInt(v));
poolFactory.setRetryAttempts(200); poolFactory.setMultiuserAuthentication(multiUserAuthMode); poolFactory.setSubscriptionEnabled(true);
poolFactory.setRetryAttempts(200);
.thenAnswer(newSetter(readTimeout, mockPoolFactory)); when(mockPoolFactory.setRetryAttempts(anyInt())) .thenAnswer(newSetter(retryAttempts, mockPoolFactory));
mockPoolFactory.setRetryAttempts(invocation.getArgument(0)); return clientCacheFactorySpy; }).when(clientCacheFactorySpy).setPoolRetryAttempts(anyInt());
it.setPRSingleHopEnabled(this.prSingleHopEnabled); it.setReadTimeout(this.readTimeout); it.setRetryAttempts(this.retryAttempts); it.setServerGroup(this.serverGroup); it.setSocketBufferSize(this.socketBufferSize);
it.setPRSingleHopEnabled(this.prSingleHopEnabled); it.setReadTimeout(this.readTimeout); it.setRetryAttempts(this.retryAttempts); it.setServerGroup(this.serverGroup); it.setSocketBufferSize(this.socketBufferSize);