Class RedisClient

java.lang.Object
com.github.fppt.jedismock.RedisClient
All Implemented Interfaces:
Runnable

public final class RedisClient extends Object implements Runnable
Created by Xiaolu on 2015/4/18.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • sendResponse

      public void sendResponse(Slice response, String respondingTo)
      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

      public ServiceOptions options()
    • getPort

      public int getPort()
    • getClock

      public Clock getClock()
    • getAddress

      public String getAddress()