@Override
  public boolean offer(NetworkRequest request) throws InterruptedException {
    return deque.offer(request);
  }
@param lifoThreshold      the fraction of capacity used at which to switch the queue from FIFO to LIFO mode.
@param coDelTargetDelayMs the target delay in ms to use for the controlled delay algorithm.
@param coDelIntervalMs    the target interval in ms to use for the controlled delay algorithm.
@param time               {@link Time} instance.
@param capacity           the capacity of the queue
ambry-network/src/main/java/com/github/ambry/network/AdaptiveLifoCoDelNetworkRequestQueue.java