Class MysqlConnectionPoolHolder
java.lang.Object
io.datarouter.client.mysql.connection.MysqlConnectionPoolHolder
@Singleton
public class MysqlConnectionPoolHolder
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMysqlConnectionPoolHolder.MysqlConnectionPool -
Field Summary
Fields Modifier and Type Field Description static MysqlCharacterSetCHARACTER_SET_CONNECTIONstatic java.lang.StringCLIENT_NAME_KEYstatic MysqlCollationCOLLATION_CONNECTIONstatic java.lang.StringUTF8MB4_CHARSET -
Constructor Summary
Constructors Constructor Description MysqlConnectionPoolHolder() -
Method Summary
Modifier and Type Method Description voidcreateConnectionPool(io.datarouter.storage.client.ClientId clientId)MysqlConnectionPoolHolder.MysqlConnectionPoolgetConnectionPool(io.datarouter.storage.client.ClientId clientId)
-
Field Details
-
UTF8MB4_CHARSET
public static final java.lang.String UTF8MB4_CHARSET- See Also:
- Constant Field Values
-
CHARACTER_SET_CONNECTION
-
COLLATION_CONNECTION
-
CLIENT_NAME_KEY
public static final java.lang.String CLIENT_NAME_KEY- See Also:
- Constant Field Values
-
-
Constructor Details
-
MysqlConnectionPoolHolder
public MysqlConnectionPoolHolder()
-
-
Method Details
-
createConnectionPool
public void createConnectionPool(io.datarouter.storage.client.ClientId clientId) -
getConnectionPool
public MysqlConnectionPoolHolder.MysqlConnectionPool getConnectionPool(io.datarouter.storage.client.ClientId clientId)
-