All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.persistence.redis.client.RedisClusterNodeIterable Maven / Gradle / Ivy

The newest version!
package org.infinispan.persistence.redis.client;

import redis.clients.jedis.JedisCluster;

import java.util.Iterator;

final public class RedisClusterNodeIterable implements Iterable {
    private final JedisCluster client;
    private final String prefix;

    public RedisClusterNodeIterable(JedisCluster client, String prefix) {
        this.client = client;
        this.prefix = prefix;
    }

    @Override
    public Iterator iterator() {
        return new RedisClusterNodeIterator(client, prefix);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy