public ClientCacheRule withMultiUser(boolean enabled) { withCacheSetup(cf -> cf.setPoolMultiuserAuthentication(enabled)); return this; }
.setPoolSubscriptionAckInterval(poolAttr.getSubscriptionAckInterval()) .setPoolServerGroup(poolAttr.getServerGroup()) .setPoolMultiuserAuthentication(poolAttr.getMultiuserAuthentication()); for (InetSocketAddress locator : poolAttr.getLocators()) { ccf.addPoolLocator(locator.getHostName(), locator.getPort());
mockPoolFactory.setMultiuserAuthentication(invocation.getArgument(0)); return clientCacheFactorySpy; }).when(clientCacheFactorySpy).setPoolMultiuserAuthentication(anyBoolean());
clientCacheFactory.setPoolMaxConnections(pool.getMaxConnections(getMaxConnections())); clientCacheFactory.setPoolMinConnections(pool.getMinConnections(getMinConnections())); clientCacheFactory.setPoolMultiuserAuthentication(pool.getMultiuserAuthentication(getMultiUserAuthentication())); clientCacheFactory.setPoolPingInterval(pool.getPingInterval(getPingInterval())); clientCacheFactory.setPoolPRSingleHopEnabled(pool.getPRSingleHopEnabled(getPrSingleHopEnabled()));
clientCacheFactory.setPoolMaxConnections(pool.getMaxConnections(getMaxConnections())); clientCacheFactory.setPoolMinConnections(pool.getMinConnections(getMinConnections())); clientCacheFactory.setPoolMultiuserAuthentication(pool.getMultiuserAuthentication(getMultiUserAuthentication())); clientCacheFactory.setPoolPingInterval(pool.getPingInterval(getPingInterval())); clientCacheFactory.setPoolPRSingleHopEnabled(pool.getPRSingleHopEnabled(getPrSingleHopEnabled()));