Fix #334 caused by moving the ``HikariPoolMBean`` into the ``com.zaxxer.hikari`` package. Classes with the ``xxxMBean`` naming convention must reside in the same package. Renaming the class to ``xxxMXBean`` allows it to reside anywhere.

pull/362/head
Brett Wooldridge 10 years ago
parent 7aa6870af0
commit 60e0eb1b8b

@ -38,7 +38,7 @@ import com.codahale.metrics.health.HealthCheckRegistry;
import com.zaxxer.hikari.util.PropertyBeanSetter;
import com.zaxxer.hikari.util.UtilityElf;
public abstract class AbstractHikariConfig implements HikariConfigMBean
public abstract class AbstractHikariConfig implements HikariConfigMXBean
{
private static final Logger LOGGER = LoggerFactory.getLogger(HikariConfig.class);

@ -21,7 +21,7 @@ package com.zaxxer.hikari;
*
* @author Brett Wooldridge
*/
public interface HikariConfigMBean
public interface HikariConfigMXBean
{
/**
* Get the maximum number of milliseconds that a client will wait for a connection from the pool. If this

@ -67,7 +67,7 @@ import com.zaxxer.hikari.util.IBagStateListener;
*
* @author Brett Wooldridge
*/
public abstract class BaseHikariPool implements HikariPoolMBean, IBagStateListener
public abstract class BaseHikariPool implements HikariPoolMXBean, IBagStateListener
{
protected final Logger LOGGER = LoggerFactory.getLogger(getClass());
private static final long ALIVE_BYPASS_WINDOW = Long.getLong("com.zaxxer.hikari.aliveBypassWindow", 1000L);

@ -21,7 +21,7 @@ package com.zaxxer.hikari.pool;
*
* @author Brett Wooldridge
*/
public interface HikariPoolMBean
public interface HikariPoolMXBean
{
int getIdleConnections();
Loading…
Cancel
Save