Class DatarouterClients

java.lang.Object
io.datarouter.storage.client.DatarouterClients

@Singleton
public class DatarouterClients
extends Object
Clients is a registry or cache of all clients in a Datarouter. Clients are expensive to create, so we reuse them for the life of the application. The Clients class also provides a lazy-initialization feature that defers connection creation, authentication, and connection pool warm-up until an application request triggers it. This class can be used for Datarouter management, such as displaying a web page listing all clients.