'Put several entries into the queue. The action only succeeds
if all entries where put into the queue.
:param values: A list of values to put into the queue.
:param priority:
An optional priority as an integer with at most 3 digits.
Lower values signify higher priority.'

def put_all(self, values, priority=100):

    if (not isinstance(values, list)):
        raise TypeError('values    must    be    a    list    of    byte    strings')
    if (not isinstance(priority, int)):
        raise TypeError('priority    must    be    an    int')
    elif ((priority < 0) or (priority > 999)):
        raise ValueError('priority    must    be    between    0    and    999')
    self._ensure_paths()
    with self.client.transaction() as transaction:
        for value in values:
            if (not isinstance(value, bytes)):
                raise TypeError('value    must    be    a    byte    string')
            transaction.create('{path}/{prefix}-{priority:03d}-'.format(path=self._entries_path, prefix=self.entry, priority=priority), value, sequence=True)
