@Test (expected = UnsupportedOperationException.class) public void testUseMultiThreadedClientPolicyWithCacheExhaustionAction() { ServiceCachingPolicy cachingPolicy = ServiceCachingPolicyBuilder.getMultiThreadedClientPolicy(); assertEquals(ServiceCachingPolicy.ExhaustionAction.GROW, cachingPolicy.getCacheExhaustionAction()); }
public static ServiceCachingPolicy getMultiThreadedClientPolicy() { return DEFAULT_MULTI_THREADED_CLIENTS_POLICY; }
ServiceCachingPolicyBuilder { public static ServiceCachingPolicy getMultiThreadedClientPolicy() { return DEFAULT_MULTI_THREADED_CLIENTS_POLICY; } }
ServiceCachingPolicyBuilder { public static ServiceCachingPolicy getMultiThreadedClientPolicy() { return DEFAULT_MULTI_THREADED_CLIENTS_POLICY; }  }
ServiceCachingPolicyBuilder { public static ServiceCachingPolicy getMultiThreadedClientPolicy() { return DEFAULT_MULTI_THREADED_CLIENTS_POLICY; }  static ServiceCachingPolicy getMultiThreadedClientPolicy(); ServiceCachingPolicyBuilder withMaxNumServiceInstances(int maxNumServiceInstances); ServiceCachingPolicyBuilder withMaxNumServiceInstancesPerEndPoint(int maxNumServiceInstancesPerEndPoint); ServiceCachingPolicyBuilder withMaxServiceInstanceIdleTime(int maxServiceInstanceIdleTime, TimeUnit unit); ServiceCachingPolicyBuilder withCacheExhaustionAction(ExhaustionAction action); ServiceCachingPolicy build(); }
ServiceCachingPolicyBuilder { public static ServiceCachingPolicy getMultiThreadedClientPolicy() { return DEFAULT_MULTI_THREADED_CLIENTS_POLICY; }  static ServiceCachingPolicy getMultiThreadedClientPolicy(); ServiceCachingPolicyBuilder withMaxNumServiceInstances(int maxNumServiceInstances); ServiceCachingPolicyBuilder withMaxNumServiceInstancesPerEndPoint(int maxNumServiceInstancesPerEndPoint); ServiceCachingPolicyBuilder withMaxServiceInstanceIdleTime(int maxServiceInstanceIdleTime, TimeUnit unit); ServiceCachingPolicyBuilder withCacheExhaustionAction(ExhaustionAction action); ServiceCachingPolicy build(); static final ServiceCachingPolicy NO_CACHING; }