'@param size: The maximum number of events to buffer.  If L{None}, the
buffer is unbounded.
@type size: L{int}'

def __init__(self, size=_DEFAULT_BUFFER_MAXIMUM):

    self._buffer = deque(maxlen=size)
