Class MockExecutor
java.lang.Object
com.github.fppt.jedismock.operations.server.MockExecutor
-
Constructor Details
-
MockExecutor
public MockExecutor()
-
-
Method Details
-
proceed
Proceed with execution, mocking the Redis behaviour.- Parameters:
state- Executor state, holding the shared database and connection-specific state.name- Command name.commandParams- Command parameters.
-
breakConnection
Break the connection (imitate Redis shutdown).- Parameters:
state- state Executor state
-