def METHOD_NAME(self, seq):
    with self._lock:
        if self._dq.maxlen is not None:
            to_drop = len(seq) + len(self._dq) - self._dq.maxlen
            if to_drop > 0:
                self.dropped += to_drop
        self._dq.METHOD_NAME(seq)