def __init__(self, factories):
        """
        Initialize.

        @param factories: Client factories.
        @type factories: C{list} of L{RedisClientFactory}.
        """
        self.factories = set(factories)