DefaultRdbVisitor
public abstract class RdbVisitor extends Object
构造器 | 说明 |
---|---|
RdbVisitor() |
public String applyMagic(RedisInputStream in) throws IOException
IOException
public int applyVersion(RedisInputStream in) throws IOException
IOException
public int applyType(RedisInputStream in) throws IOException
IOException
public DB applySelectDB(RedisInputStream in, int version) throws IOException
IOException
public DB applyResizeDB(RedisInputStream in, DB db, int version) throws IOException
IOException
public long applyEof(RedisInputStream in, int version) throws IOException
IOException
public Event applyAux(RedisInputStream in, int version) throws IOException
IOException
public Event applyModuleAux(RedisInputStream in, int version) throws IOException
in
- input streamversion
- rdb versionIOException
- IOExceptionpublic Event applyExpireTime(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyExpireTimeMs(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyFreq(RedisInputStream in, DB db, int version) throws IOException
in
- input streamdb
- redis dbversion
- rdb versionIOException
- IOExceptionpublic Event applyIdle(RedisInputStream in, DB db, int version) throws IOException
in
- input streamdb
- redis dbversion
- rdb versionIOException
- IOExceptionpublic Event applyString(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyList(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applySet(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyZSet(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyZSet2(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyHash(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyHashZipMap(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyListZipList(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applySetIntSet(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyZSetZipList(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyHashZipList(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyListQuickList(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyModule(RedisInputStream in, DB db, int version) throws IOException
IOException
public Event applyModule2(RedisInputStream in, DB db, int version) throws IOException
in
- input streamdb
- redis dbversion
- rdb versionIOException
- IOExceptionpublic Event applyStreamListPacks(RedisInputStream in, DB db, int version) throws IOException
in
- input streamdb
- redis dbversion
- rdb versionIOException
- IOExceptionCopyright © 2018. All rights reserved.