':param mid: Hex encoded version of the member id of this node
:type mid: str'

def __init__(self, mid, persistence):

    super(DatabaseOrderRepository, self).__init__()
    self._logger.info('Memory    order    repository    used')
    try:
        int(mid, 16)
    except ValueError:
        raise ValueError('Encoded    member    id    must    be    hexadecimal')
    self._mid = mid
    self.persistence = persistence
