Class SkipRdbVisitor
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.RdbVisitor
-
- com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
-
- com.moilioncircle.redis.replicator.rdb.skip.SkipRdbVisitor
-
public class SkipRdbVisitor extends DefaultRdbVisitor
- Since:
- 2.4.6
- Author:
- Leon Chen
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
logger, replicator, valueVisitor
-
-
Constructor Summary
Constructors Constructor Description SkipRdbVisitor(Replicator replicator)SkipRdbVisitor(Replicator replicator, RdbValueVisitor valueVisitor)
-
Method Summary
-
Methods inherited from class com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
applyEof, applyMagic, applyType, applyVersion, lookupModuleParser, rdbLoadObject
-
-
-
-
Constructor Detail
-
SkipRdbVisitor
public SkipRdbVisitor(Replicator replicator)
-
SkipRdbVisitor
public SkipRdbVisitor(Replicator replicator, RdbValueVisitor valueVisitor)
-
-
Method Detail
-
applyFunction
public Function applyFunction(RedisInputStream in, int version) throws IOException
- Overrides:
applyFunctionin classDefaultRdbVisitor- Throws:
IOException
-
applyFunction2
public Function applyFunction2(RedisInputStream in, int version) throws IOException
- Overrides:
applyFunction2in classDefaultRdbVisitor- Throws:
IOException
-
applySelectDB
public DB applySelectDB(RedisInputStream in, int version) throws IOException
- Overrides:
applySelectDBin classDefaultRdbVisitor- Throws:
IOException
-
applyResizeDB
public DB applyResizeDB(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyResizeDBin classDefaultRdbVisitor- Throws:
IOException
-
applyExpireTime
public Event applyExpireTime(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyExpireTimein classDefaultRdbVisitor- Throws:
IOException
-
applyExpireTimeMs
public Event applyExpireTimeMs(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyExpireTimeMsin classDefaultRdbVisitor- Throws:
IOException
-
applyFreq
public Event applyFreq(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyFreqin classDefaultRdbVisitor- Throws:
IOException
-
applyIdle
public Event applyIdle(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyIdlein classDefaultRdbVisitor- Throws:
IOException
-
applyAux
public Event applyAux(RedisInputStream in, int version) throws IOException
- Overrides:
applyAuxin classDefaultRdbVisitor- Throws:
IOException
-
applyModuleAux
public Event applyModuleAux(RedisInputStream in, int version) throws IOException
- Overrides:
applyModuleAuxin classDefaultRdbVisitor- Throws:
IOException
-
applyString
public Event applyString(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyStringin classDefaultRdbVisitor- Throws:
IOException
-
applyList
public Event applyList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyListin classDefaultRdbVisitor- Throws:
IOException
-
applySet
public Event applySet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applySetin classDefaultRdbVisitor- Throws:
IOException
-
applySetListPack
public Event applySetListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applySetListPackin classDefaultRdbVisitor- Throws:
IOException
-
applyZSet
public Event applyZSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyZSetin classDefaultRdbVisitor- Throws:
IOException
-
applyZSet2
public Event applyZSet2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyZSet2in classDefaultRdbVisitor- Throws:
IOException
-
applyHash
public Event applyHash(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyHashin classDefaultRdbVisitor- Throws:
IOException
-
applyHashZipMap
public Event applyHashZipMap(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyHashZipMapin classDefaultRdbVisitor- Throws:
IOException
-
applyListZipList
public Event applyListZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyListZipListin classDefaultRdbVisitor- Throws:
IOException
-
applySetIntSet
public Event applySetIntSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applySetIntSetin classDefaultRdbVisitor- Throws:
IOException
-
applyZSetZipList
public Event applyZSetZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyZSetZipListin classDefaultRdbVisitor- Throws:
IOException
-
applyZSetListPack
public Event applyZSetListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyZSetListPackin classDefaultRdbVisitor- Throws:
IOException
-
applyHashZipList
public Event applyHashZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyHashZipListin classDefaultRdbVisitor- Throws:
IOException
-
applyHashListPack
public Event applyHashListPack(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyHashListPackin classDefaultRdbVisitor- Throws:
IOException
-
applyListQuickList
public Event applyListQuickList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyListQuickListin classDefaultRdbVisitor- Throws:
IOException
-
applyListQuickList2
public Event applyListQuickList2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyListQuickList2in classDefaultRdbVisitor- Throws:
IOException
-
applyModule
public Event applyModule(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyModulein classDefaultRdbVisitor- Throws:
IOException
-
applyModule2
public Event applyModule2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyModule2in classDefaultRdbVisitor- Throws:
IOException
-
applyStreamListPacks
public Event applyStreamListPacks(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyStreamListPacksin classDefaultRdbVisitor- Throws:
IOException
-
applyStreamListPacks2
public Event applyStreamListPacks2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyStreamListPacks2in classDefaultRdbVisitor- Throws:
IOException
-
applyStreamListPacks3
public Event applyStreamListPacks3(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- Overrides:
applyStreamListPacks3in classDefaultRdbVisitor- Throws:
IOException
-
-