Class RdbVisitor
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.RdbVisitor
-
- Direct Known Subclasses:
DefaultRdbVisitor
public abstract class RdbVisitor extends Object
- Since:
- 2.1.0
- Author:
- Leon Chen
-
-
Constructor Summary
Constructors Constructor Description RdbVisitor()
-
Method Summary
-
-
-
Method Detail
-
applyMagic
public String applyMagic(RedisInputStream in) throws IOException
- Throws:
IOException
-
applyVersion
public int applyVersion(RedisInputStream in) throws IOException
- Throws:
IOException
-
applyType
public int applyType(RedisInputStream in) throws IOException
- Throws:
IOException
-
applyFunction
public Event applyFunction(RedisInputStream in, int version) throws IOException
- Throws:
IOException
-
applyFunction2
public Event applyFunction2(RedisInputStream in, int version) throws IOException
- Throws:
IOException
-
applySelectDB
public DB applySelectDB(RedisInputStream in, int version) throws IOException
- Throws:
IOException
-
applyResizeDB
public DB applyResizeDB(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyEof
public long applyEof(RedisInputStream in, int version) throws IOException
- Throws:
IOException
-
applyAux
public Event applyAux(RedisInputStream in, int version) throws IOException
- Throws:
IOException
-
applyModuleAux
public Event applyModuleAux(RedisInputStream in, int version) throws IOException
- Throws:
IOException
-
applyExpireTime
public Event applyExpireTime(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyExpireTimeMs
public Event applyExpireTimeMs(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyFreq
public Event applyFreq(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyIdle
public Event applyIdle(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyString
public Event applyString(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyList
public Event applyList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applySet
public Event applySet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyZSet
public Event applyZSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyZSet2
public Event applyZSet2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyHash
public Event applyHash(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyHashZipMap
public Event applyHashZipMap(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyListZipList
public Event applyListZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applySetIntSet
public Event applySetIntSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyZSetZipList
public Event applyZSetZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyZSetListPack
public Event applyZSetListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyHashZipList
public Event applyHashZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyHashListPack
public Event applyHashListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyListQuickList
public Event applyListQuickList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyListQuickList2
public Event applyListQuickList2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyModule
public Event applyModule(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyModule2
public Event applyModule2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyStreamListPacks
public Event applyStreamListPacks(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
applyStreamListPacks2
public Event applyStreamListPacks2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Throws:
IOException
-
-