.setPoolRetryAttempts(poolAttr.getRetryAttempts()) .setPoolThreadLocalConnections(poolAttr.getThreadLocalConnections()) .setPoolReadTimeout(poolAttr.getReadTimeout()) .setPoolSubscriptionEnabled(poolAttr.getSubscriptionEnabled()) .setPoolPRSingleHopEnabled(poolAttr.getPRSingleHopEnabled())
mockPoolFactory.setReadTimeout(invocation.getArgument(0)); return clientCacheFactorySpy; }).when(clientCacheFactorySpy).setPoolReadTimeout(anyInt());
clientCacheFactory.setPoolPingInterval(pool.getPingInterval(getPingInterval())); clientCacheFactory.setPoolPRSingleHopEnabled(pool.getPRSingleHopEnabled(getPrSingleHopEnabled())); clientCacheFactory.setPoolReadTimeout(pool.getReadTimeout(getReadTimeout())); clientCacheFactory.setPoolRetryAttempts(pool.getRetryAttempts(getRetryAttempts())); clientCacheFactory.setPoolServerGroup(pool.getServerGroup(getServerGroup()));
clientCacheFactory.setPoolPingInterval(pool.getPingInterval(getPingInterval())); clientCacheFactory.setPoolPRSingleHopEnabled(pool.getPRSingleHopEnabled(getPrSingleHopEnabled())); clientCacheFactory.setPoolReadTimeout(pool.getReadTimeout(getReadTimeout())); clientCacheFactory.setPoolRetryAttempts(pool.getRetryAttempts(getRetryAttempts())); clientCacheFactory.setPoolServerGroup(pool.getServerGroup(getServerGroup()));