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 Details

    • RedisClientManager

      public RedisClientManager()
  • Method Details

    • safeInitClient

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

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

      public DatarouterRedisClient getClient(io.datarouter.storage.client.ClientId clientId)
    • getLazyClient

      public Supplier<DatarouterRedisClient> getLazyClient(io.datarouter.storage.client.ClientId clientId)