Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.client.hotrod.impl.transport.tcp;
 

Author(s):
Mircea.Markus@jboss.com
Since:
4.1
public class PropsKeyedObjectPoolFactory<K, V> extends GenericKeyedObjectPoolFactory<K, V> {
      super(factory,
            configuration.maxActive(),
            mapExhaustedAction(configuration.exhaustedAction()),
            configuration.maxWait(),
            configuration.maxIdle(),
            configuration.maxTotal(),
            configuration.minIdle(),
            configuration.testOnBorrow(),
            configuration.testOnReturn(),
            configuration.timeBetweenEvictionRuns(),
            configuration.numTestsPerEvictionRun(),
            configuration.minEvictableIdleTime(),
            configuration.testWhileIdle(),
            configuration.lifo());
   }
   private static byte mapExhaustedAction(ExhaustedAction action) {
      switch (action) {
      case :
      case :
      case :
      default:
      }
   }
New to GrepCode? Check out our FAQ X