/**
 * 
 */
package com.ctrip.xpipe.redis.keeper.meta;

import com.ctrip.xpipe.redis.keeper.entity.KeeperMeta;
import com.ctrip.xpipe.redis.keeper.entity.RedisMeta;

/**
 * @author marsqing
 *
 *         Jun 13, 2016 2:05:38 PM
 */
public class ShardStatus {

	private KeeperMeta activeKeeper;

	private KeeperMeta upstreamKeeper;

	private RedisMeta redisMaster;

	public ShardStatus() {
	}

	public ShardStatus(KeeperMeta activeKeeper, KeeperMeta upstreamKeeper, RedisMeta redisMaster) {
		this.activeKeeper = activeKeeper;
		this.upstreamKeeper = upstreamKeeper;
		this.redisMaster = redisMaster;
	}

	public KeeperMeta getActiveKeeper() {
		return activeKeeper;
	}

	public KeeperMeta getUpstreamKeeper() {
		return upstreamKeeper;
	}

	public RedisMeta getRedisMaster() {
		return redisMaster;
	}

}

@@ -796,10 +796,301 @@
 er;%0A%09%7D%0A%0A
+%09public void setActiveKeeper(KeeperMeta activeKeeper) %7B%0A%09%09this.activeKeeper = activeKeeper;%0A%09%7D%0A%0A%09public void setUpstreamKeeper(KeeperMeta upstreamKeeper) %7B%0A%09%09this.upstreamKeeper = upstreamKeeper;%0A%09%7D%0A%0A%09public void setRedisMaster(RedisMeta redisMaster) %7B%0A%09%09this.redisMaster = redisMaster;%0A%09%7D%0A%0A
 %7D%0A

fix setter bug