code: @Override
  	public int remainingCapacity() {
  		if (sizeLimit > 0){
  			int remaining = sizeLimit - size();
  			return remaining < 0 ? 0 : remaining;
  		}else{
  			return queue.remainingCapacity();
  		}
  	}
docs: /* (non-Javadoc)
  @see java.util.concurrent.BlockingQueue#remainingCapacity()