package io.craft.atom.redis; import io.craft.atom.redis.api.MasterSlaveRedis; import io.craft.atom.redis.spi.Sharded; import java.util.List; import lombok.ToString; /** * @author mindwind * @version 1.0, Jun 25, 2013 */ @ToString(callSuper = true) public class MasterSlaveRedisMurmurHashSharded extends AbstractMurmurHashSharded<MasterSlaveRedis> implements Sharded<MasterSlaveRedis> { public MasterSlaveRedisMurmurHashSharded(List<MasterSlaveRedis> shards) { super(shards); } @Override public MasterSlaveRedis shard(String shardkey) { return super.shard(shardkey); } @Override public List<MasterSlaveRedis> shards() { return super.shards(); } }