Hi,
Is there a way to get active number of connections for HikariCP? HikariCP library
I have tried using javaobject. I am not great with Java and its implementations
Dim jo As JavaObject
jo.InitializeNewInstance("com.zaxxer.hikari.metrics.PoolStats",Null)
Error: Caused by: java.lang.NoSuchMethodException: com.zaxxer.hikari.metrics.PoolStats.<init>()
and
Dim jo As JavaObject
jo.InitializeStatic("com.zaxxer.hikari.metrics.PoolStats").RunMethod("getTotalConnections",Null)
Error: java.lang.IllegalArgumentException: object is not an instance of declaring class
Class: PoolStats.java
Thank you
Is there a way to get active number of connections for HikariCP? HikariCP library
I have tried using javaobject. I am not great with Java and its implementations
Dim jo As JavaObject
jo.InitializeNewInstance("com.zaxxer.hikari.metrics.PoolStats",Null)
Error: Caused by: java.lang.NoSuchMethodException: com.zaxxer.hikari.metrics.PoolStats.<init>()
and
Dim jo As JavaObject
jo.InitializeStatic("com.zaxxer.hikari.metrics.PoolStats").RunMethod("getTotalConnections",Null)
Error: java.lang.IllegalArgumentException: object is not an instance of declaring class
Class: PoolStats.java
Thank you