Class ConnectionMonitor

All Implemented Interfaces:
ConnectionMonitorMBean, AbstractMonitorMBean, Shutdownable, Runnable

public class ConnectionMonitor extends AbstractMonitor implements ConnectionMonitorMBean
This is the monitor class for the ProxyConnection which monitors the different newInstance() and close() calls. So you can ask this monitor how many connections and which connections are open.

The instance of this class is automatically registered as MBean as soon as a ProxyConnection is used.

Originally this class was part of PatternTesting (since 2012) but was moved in 2018 to the ClazzFish project.

Since:
0.9
Author:
oliver (ob@aosd.de)
  • Constructor Details

    • ConnectionMonitor

      protected ConnectionMonitor()
      No need to instantiate it - we provide only some services. The constructor is protected because it is still used by the (deprecated) ConnectionMonitor in patterntesting.runtime.db.
  • Method Details