Package com.github.fppt.jedismock
Class RedisClient
java.lang.Object
com.github.fppt.jedismock.RedisClient
- All Implemented Interfaces:
Runnable
Created by Xiaolu on 2015/4/18.
-
Method Details
-
run
public void run() -
sendResponse
Send a response due to a specific command.- Parameters:
response- The response to send.respondingTo- The reason for sending this response
-
close
public void close()Close all the streams used by this client effectively closing the client. Also signals the client to stop working. -
options
-
getPort
public int getPort() -
getClock
-
getAddress
-