THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
public interface PoolService { // this will delegate to PoolManager.createFactory(). Javadocs will be copied from that method PoolFactory createPoolFactory(); //Delegates to PoolManager.find Pool find(String name) { //Delegates to PoolManager.getAll static Map<String, Pool> getAll(); //The close methods of PoolManager will not be present in PoolService //The lifecycle of PoolService is tied to the cache } public interface ClientCache { ... PoolService getPoolService(); } |
...