Interface ReplicatorRegister
-
- All Known Subinterfaces:
AsyncReplicator,Replicator
- All Known Implementing Classes:
AbstractReplicator,AsyncRedisReplicator,RedisAofReplicator,RedisMixReplicator,RedisRdbReplicator,RedisReplicator,RedisScanReplicator,RedisSocketReplicator
public interface ReplicatorRegister- Since:
- 3.0.0
- Author:
- Leon Chen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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()
-
-
-
Method Detail
-
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()
-
-