类 DumpRdbVisitor
- java.lang.Object
-
- com.moilioncircle.redis.replicator.rdb.RdbVisitor
-
- com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
-
- com.moilioncircle.redis.replicator.rdb.dump.DumpRdbVisitor
-
public class DumpRdbVisitor extends DefaultRdbVisitor
- 从以下版本开始:
- 2.5.0
- 作者:
- Leon Chen
-
-
字段概要
-
从类继承的字段 com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
logger, replicator, valueVisitor
-
-
构造器概要
构造器 构造器 说明 DumpRdbVisitor(Replicator replicator)DumpRdbVisitor(Replicator replicator, int version)DumpRdbVisitor(Replicator replicator, int version, int size)
-
方法概要
-
从类继承的方法 com.moilioncircle.redis.replicator.rdb.DefaultRdbVisitor
applyAux, applyEof, applyExpireTime, applyExpireTimeMs, applyFreq, applyIdle, applyMagic, applyModuleAux, applyResizeDB, applySelectDB, applyType, applyVersion, lookupModuleParser, rdbLoadObject
-
-
-
-
构造器详细资料
-
DumpRdbVisitor
public DumpRdbVisitor(Replicator replicator)
-
DumpRdbVisitor
public DumpRdbVisitor(Replicator replicator, int version)
- 参数:
replicator- the replicatorversion- dumped version : redis 2.8.x = 6, redis 3.x = 7, redis 4.0.x = 8, -1 means dumped version = rdb version- 从以下版本开始:
- 2.6.0
-
DumpRdbVisitor
public DumpRdbVisitor(Replicator replicator, int version, int size)
-
-
方法详细资料
-
applyString
public Event applyString(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyString在类中DefaultRdbVisitor- 抛出:
IOException
-
applyList
public Event applyList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyList在类中DefaultRdbVisitor- 抛出:
IOException
-
applySet
public Event applySet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applySet在类中DefaultRdbVisitor- 抛出:
IOException
-
applyZSet
public Event applyZSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyZSet在类中DefaultRdbVisitor- 抛出:
IOException
-
applyZSet2
public Event applyZSet2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyZSet2在类中DefaultRdbVisitor- 抛出:
IOException
-
applyHash
public Event applyHash(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyHash在类中DefaultRdbVisitor- 抛出:
IOException
-
applyHashZipMap
public Event applyHashZipMap(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyHashZipMap在类中DefaultRdbVisitor- 抛出:
IOException
-
applyListZipList
public Event applyListZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyListZipList在类中DefaultRdbVisitor- 抛出:
IOException
-
applySetIntSet
public Event applySetIntSet(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applySetIntSet在类中DefaultRdbVisitor- 抛出:
IOException
-
applyZSetZipList
public Event applyZSetZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyZSetZipList在类中DefaultRdbVisitor- 抛出:
IOException
-
applyHashZipList
public Event applyHashZipList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyHashZipList在类中DefaultRdbVisitor- 抛出:
IOException
-
applyListQuickList
public Event applyListQuickList(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyListQuickList在类中DefaultRdbVisitor- 抛出:
IOException
-
applyModule
public Event applyModule(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyModule在类中DefaultRdbVisitor- 抛出:
IOException
-
applyModule2
public Event applyModule2(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyModule2在类中DefaultRdbVisitor- 抛出:
IOException
-
applyStreamListPacks
public Event applyStreamListPacks(RedisInputStream in, int version, ContextKeyValuePair context) throws IOException
- 覆盖:
applyStreamListPacks在类中DefaultRdbVisitor- 抛出:
IOException
-
-