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)
void
builtInCommandParserRegister()
CommandParser<? extends Command>
getCommandParser(CommandName command)
Configuration
getConfiguration()
ModuleParser<? extends Module>
getModuleParser(String moduleName, int moduleVersion)
RdbVisitor
getRdbVisitor()
Status
getStatus()
CommandParser<? extends Command>
removeCommandParser(CommandName command)
ModuleParser<? extends Module>
removeModuleParser(String moduleName, int moduleVersion)
void
setRdbVisitor(RdbVisitor rdbVisitor)
boolean
verbose()
-
-
-
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()
-
-