1 23 24 29 42 43 48 49 package com.sun.enterprise.util.pool; 50 51 59 public interface Pool { 60 61 70 public Object getObject(boolean toWait, Object param) 71 throws PoolException, InterruptedException ; 72 73 82 public Object getObject(long waitForMillis, Object param) 83 throws PoolException, InterruptedException ; 84 85 86 91 public void returnObject(Object obj); 92 93 100 public void destroyObject(Object obj); 101 102 106 public boolean addPoolListener(PoolListener listener); 107 108 112 public boolean removePoolListener(PoolListener listener); 113 114 115 116 } 117 | Popular Tags |