pool.setMinConn(ERXProperties.intForKeyWithDefault("er.caching.minConnections", 5));
pool.setMaxConn(ERXProperties.intForKeyWithDefault("er.caching.maxConnections", 50));
pool.setMaintSleep(ERXProperties.intForKeyWithDefault("er.caching.sleepTime", 30));
pool.setNagle(ERXProperties.booleanForKeyWithDefault("er.caching.useNagle", false));
pool.initialize();
}
public static void startServer() {
try {
int port = ERXProperties.intForKeyWithDefault("er.caching.server.port", 0);