接口 ReplicatorRegister
-
- 所有已知子接口:
AsyncReplicator,Replicator
- 所有已知实现类:
AbstractReplicator,AsyncRedisReplicator,RedisAofReplicator,RedisMixReplicator,RedisRdbReplicator,RedisReplicator,RedisSocketReplicator
public interface ReplicatorRegister- 从以下版本开始:
- 3.0.0
- 作者:
- Leon Chen
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 <T extends Command>
voidaddCommandParser(CommandName command, CommandParser<T> parser)<T extends Module>
voidaddModuleParser(String moduleName, int moduleVersion, ModuleParser<T> parser)voidbuiltInCommandParserRegister()CommandParser<? extends Command>getCommandParser(CommandName command)ConfigurationgetConfiguration()ModuleParser<? extends Module>getModuleParser(String moduleName, int moduleVersion)RdbVisitorgetRdbVisitor()StatusgetStatus()CommandParser<? extends Command>removeCommandParser(CommandName command)ModuleParser<? extends Module>removeModuleParser(String moduleName, int moduleVersion)voidsetRdbVisitor(RdbVisitor rdbVisitor)booleanverbose()
-
-
-
方法详细资料
-
builtInCommandParserRegister
void builtInCommandParserRegister()
-
getCommandParser
CommandParser<? extends Command> getCommandParser(CommandName command)
-
addCommandParser
<T extends Command> void addCommandParser(CommandName command, CommandParser<T> parser)
-
removeCommandParser
CommandParser<? extends Command> removeCommandParser(CommandName command)
-
getModuleParser
ModuleParser<? extends Module> getModuleParser(String moduleName, int moduleVersion)
-
addModuleParser
<T extends Module> void addModuleParser(String moduleName, int moduleVersion, ModuleParser<T> parser)
-
removeModuleParser
ModuleParser<? extends Module> removeModuleParser(String moduleName, int moduleVersion)
-
setRdbVisitor
void setRdbVisitor(RdbVisitor rdbVisitor)
-
getRdbVisitor
RdbVisitor getRdbVisitor()
-
verbose
boolean verbose()
-
getStatus
Status getStatus()
-
getConfiguration
Configuration getConfiguration()
-
-