Class DatabaseMonitor

java.lang.Object
is.codion.tools.monitor.model.DatabaseMonitor

public final class DatabaseMonitor extends Object
A DatabaseMonitor
  • Constructor Details

  • Method Details

    • connectionPoolMonitor

      public PoolMonitor connectionPoolMonitor()
      Returns:
      the connection pool monitor
    • shutdown

      public void shutdown()
      Shuts down this database monitor
    • clearStatistics

      public void clearStatistics()
      Resets all collected statistics
    • updateStatistics

      public void updateStatistics() throws RemoteException
      Updates the database usage statistics
      Throws:
      RemoteException - in case of an exception
    • queriesPerSecondCollection

      public org.jfree.data.xy.XYDataset queriesPerSecondCollection()
      Returns:
      the graph series collection for the number of queries
    • updateInterval

      public Value<Integer> updateInterval()
      Returns:
      the Value controlling the update interval