org.holoeverywhere.util.Pools Maven / Gradle / Ivy
package org.holoeverywhere.util;
public class Pools {
public static > Pool finitePool(
PoolableManager manager, int limit) {
return new FinitePool(manager, limit);
}
public static > Pool simplePool(
PoolableManager manager) {
return new FinitePool(manager);
}
public static > Pool synchronizedPool(Pool pool) {
return new SynchronizedPool(pool);
}
public static > Pool synchronizedPool(
Pool pool, Object lock) {
return new SynchronizedPool(pool, lock);
}
private Pools() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy