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 -
Method Summary
Modifier and TypeMethodDescriptiongetClient(io.datarouter.storage.client.ClientId clientId) getLazyClient(io.datarouter.storage.client.ClientId clientId) protected voidsafeInitClient(io.datarouter.storage.client.ClientId clientId) voidshutdown(io.datarouter.storage.client.ClientId clientId) Methods inherited from class io.datarouter.storage.client.BaseClientManager
doSchemaUpdate, doSchemaUpdate, gatherSchemaUpdates, initClient, monitorLatency
-
Constructor Details
-
RedisClientManager
public RedisClientManager()
-
-
Method Details
-
safeInitClient
protected void safeInitClient(io.datarouter.storage.client.ClientId clientId) - Specified by:
safeInitClientin classio.datarouter.storage.client.BaseClientManager
-
shutdown
public void shutdown(io.datarouter.storage.client.ClientId clientId) -
getClient
-
getLazyClient
public Supplier<DatarouterRedisClient> getLazyClient(io.datarouter.storage.client.ClientId clientId)
-