package com.ctrip.xpipe.redis.core.meta.comparator;

import com.ctrip.xpipe.redis.core.entity.Redis;

/**
 * @author wenchao.meng
 *
 * Sep 2, 2016
 */
public class RedisComparator extends AbstractMetaComparator<Redis, Object, RedisChange>{
	
	public RedisComparator(Redis current, Redis future) {
		super(current, future);
	}

	@Override
	public void compare() {
		//too many redis meta, avoid reflection
	}

	@Override
	public boolean isShallowChange() {
		throw new UnsupportedOperationException("too many redis meta, avoid reflection");
	}

	@Override
	public String idDesc() {
		return current.desc();
	}

	public Redis getCurrent() {
		return current;
	}

	public Redis getFuture() {
		return future;
	}
}

@@ -530,16 +530,61 @@
 flection
+. realize it yourself if you need it indeed. 
 %22);%0A%09%7D%0A%0A

add note about redis comparator to the latter