protected void destroy(T bean) { doRemove(bean); }
@Deprecated protected void remove(T bean) { this.doRemove(bean); }
@Override @Deprecated public void remove(T ctx) { if (ROOT_LOGGER.isTraceEnabled()) { ROOT_LOGGER.tracef("Removing instance: %s#%s", this, ctx); } semaphore.release(); // let the super do the other remove stuff super.doRemove(ctx); }
public void discard(T ctx) { if (ROOT_LOGGER.isTraceEnabled()) { ROOT_LOGGER.tracef("Discard instance %s#%s", this, ctx); } // If we block when maxSize instances are in use, invoke release on strictMaxSize semaphore.release(); // Let the super do any other remove stuff super.doRemove(ctx); }
protected void destroy(T bean) { doRemove(bean); }
@Deprecated protected void remove(T bean) { this.doRemove(bean); }
@Override @Deprecated public void remove(T ctx) { if (ROOT_LOGGER.isTraceEnabled()) { ROOT_LOGGER.tracef("Removing instance: %s#%s", this, ctx); } semaphore.release(); // let the super do the other remove stuff super.doRemove(ctx); }
public void discard(T ctx) { if (ROOT_LOGGER.isTraceEnabled()) { ROOT_LOGGER.tracef("Discard instance %s#%s", this, ctx); } // If we block when maxSize instances are in use, invoke release on strictMaxSize semaphore.release(); // Let the super do any other remove stuff super.doRemove(ctx); }