类 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.Logger
logger
protected Replicator
replicator
protected RdbValueVisitor
valueVisitor
-
构造器概要
构造器 构造器 说明 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
-
-