private void doRemoveItem(T item) { if (this.logger.isDebugEnabled()) { this.logger.debug("Removing " + item + " from the pool"); } this.allocated.remove(item); this.inUse.remove(item); this.callback.removedFromPool(item); }
private void doRemoveItem(T item) { if (this.logger.isDebugEnabled()) { this.logger.debug("Removing " + item + " from the pool"); } this.allocated.remove(item); this.inUse.remove(item); this.callback.removedFromPool(item); }