1 25 26 package org.objectweb.easybeans.api.pool; 27 28 29 36 public interface Pool<InstanceType, Clue> extends PoolAttributes { 37 38 43 InstanceType get() throws PoolException; 44 45 51 InstanceType get(Clue clue) throws PoolException; 52 53 58 void release(InstanceType instance) throws PoolException; 59 60 65 void discard(InstanceType instance) throws PoolException; 66 67 72 void start() throws PoolException; 73 74 78 void stop() throws PoolException; 79 } 80 | Popular Tags |