类 DefaultRdbVisitor
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.RdbVisitor
-
- com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
-
public class DefaultRdbVisitor extends RdbVisitor
- 从以下版本开始:
- 2.1.0
- 作者:
- Leon Chen
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static org.slf4j.Loggerloggerprotected Replicatorreplicatorprotected RdbValueVisitorvalueVisitor
-
构造器概要
构造器 构造器 说明 DefaultRdbVisitor(Replicator replicator)DefaultRdbVisitor(Replicator replicator, RdbValueVisitor valueVisitor)
-
方法概要
-
-
-
字段详细资料
-
logger
protected static final org.slf4j.Logger logger
-
replicator
protected final Replicator replicator
-
valueVisitor
protected final RdbValueVisitor valueVisitor
-
-
构造器详细资料
-
DefaultRdbVisitor
public DefaultRdbVisitor(Replicator replicator)
-
DefaultRdbVisitor
public DefaultRdbVisitor(Replicator replicator, RdbValueVisitor valueVisitor)
-
-
方法详细资料
-
applyMagic
public String applyMagic(RedisInputStream in) throws IOException
- 覆盖:
applyMagic在类中RdbVisitor- 抛出:
IOException
-
applyVersion
public int applyVersion(RedisInputStream in) throws IOException
- 覆盖:
applyVersion在类中RdbVisitor- 抛出:
IOException
-
applyType
public int applyType(RedisInputStream in) throws IOException
- 覆盖:
applyType在类中RdbVisitor- 抛出:
IOException
-
applySelectDB
public DB applySelectDB(RedisInputStream in, int version) throws IOException
- 覆盖:
applySelectDB在类中RdbVisitor- 抛出:
IOException
-
applyResizeDB
public DB applyResizeDB(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyResizeDB在类中RdbVisitor- 抛出:
IOException
-
applyAux
public Event applyAux(RedisInputStream in, int version) throws IOException
- 覆盖:
applyAux在类中RdbVisitor- 抛出:
IOException
-
applyModuleAux
public Event applyModuleAux(RedisInputStream in, int version) throws IOException
- 覆盖:
applyModuleAux在类中RdbVisitor- 抛出:
IOException
-
applyEof
public long applyEof(RedisInputStream in, int version) throws IOException
- 覆盖:
applyEof在类中RdbVisitor- 抛出:
IOException
-
applyExpireTime
public Event applyExpireTime(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyExpireTime在类中RdbVisitor- 抛出:
IOException
-
applyExpireTimeMs
public Event applyExpireTimeMs(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyExpireTimeMs在类中RdbVisitor- 抛出:
IOException
-
applyFreq
public Event applyFreq(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyFreq在类中RdbVisitor- 抛出:
IOException
-
applyIdle
public Event applyIdle(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyIdle在类中RdbVisitor- 抛出:
IOException
-
applyString
public Event applyString(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyString在类中RdbVisitor- 抛出:
IOException
-
applyList
public Event applyList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyList在类中RdbVisitor- 抛出:
IOException
-
applySet
public Event applySet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applySet在类中RdbVisitor- 抛出:
IOException
-
applyZSet
public Event applyZSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyZSet在类中RdbVisitor- 抛出:
IOException
-
applyZSet2
public Event applyZSet2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyZSet2在类中RdbVisitor- 抛出:
IOException
-
applyHash
public Event applyHash(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyHash在类中RdbVisitor- 抛出:
IOException
-
applyHashZipMap
public Event applyHashZipMap(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyHashZipMap在类中RdbVisitor- 抛出:
IOException
-
applyListZipList
public Event applyListZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyListZipList在类中RdbVisitor- 抛出:
IOException
-
applySetIntSet
public Event applySetIntSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applySetIntSet在类中RdbVisitor- 抛出:
IOException
-
applyZSetZipList
public Event applyZSetZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyZSetZipList在类中RdbVisitor- 抛出:
IOException
-
applyHashZipList
public Event applyHashZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyHashZipList在类中RdbVisitor- 抛出:
IOException
-
applyListQuickList
public Event applyListQuickList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyListQuickList在类中RdbVisitor- 抛出:
IOException
-
applyModule
public Event applyModule(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyModule在类中RdbVisitor- 抛出:
IOException
-
applyModule2
public Event applyModule2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyModule2在类中RdbVisitor- 抛出:
IOException
-
applyStreamListPacks
public Event applyStreamListPacks(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyStreamListPacks在类中RdbVisitor- 抛出:
IOException
-
lookupModuleParser
protected ModuleParser<? extends Module> lookupModuleParser(String moduleName, int moduleVersion)
-
rdbLoadObject
protected KeyValuePair<?,?> rdbLoadObject(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 抛出:
IOException
-
-