Class RedisClientManager

java.lang.Object
io.datarouter.storage.client.BaseClientManager
io.datarouter.client.redis.client.RedisClientManager
All Implemented Interfaces:
io.datarouter.storage.client.ClientManager

@Singleton
public class RedisClientManager
extends io.datarouter.storage.client.BaseClientManager
  • Constructor Summary

    Constructors 
    Constructor Description
    RedisClientManager()  
  • Method Summary

    Modifier and Type Method Description
    io.lettuce.core.api.StatefulRedisConnection<java.lang.String,​java.lang.String> getClient​(io.datarouter.storage.client.ClientId clientId)  
    protected void safeInitClient​(io.datarouter.storage.client.ClientId clientId)  
    void shutdown​(io.datarouter.storage.client.ClientId clientId)  

    Methods inherited from class io.datarouter.storage.client.BaseClientManager

    doSchemaUpdate, doSchemaUpdate, gatherSchemaUpdates, initClient, monitorLatency

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • shutdown

      public void shutdown​(io.datarouter.storage.client.ClientId clientId)
    • safeInitClient

      protected void safeInitClient​(io.datarouter.storage.client.ClientId clientId)
      Specified by:
      safeInitClient in class io.datarouter.storage.client.BaseClientManager
    • getClient

      public io.lettuce.core.api.StatefulRedisConnection<java.lang.String,​java.lang.String> getClient​(io.datarouter.storage.client.ClientId clientId)