use of com.sun.ejb.monitoring.stats.EjbPoolStatsProvider in project Payara by payara.
the class StatelessSessionContainer method registerMonitorableComponents.
protected void registerMonitorableComponents() {
super.registerMonitorableComponents();
poolProbeListener = new EjbPoolStatsProvider(pool, getContainerId(), containerInfo.appName, containerInfo.modName, containerInfo.ejbName);
poolProbeListener.register();
_logger.log(Level.FINE, "[SLSB Container] registered monitorable");
}
use of com.sun.ejb.monitoring.stats.EjbPoolStatsProvider in project Payara by payara.
the class ActiveTxCache method registerMonitorableComponents.
@Override
protected void registerMonitorableComponents() {
super.registerMonitorableComponents();
if (readyStore != null) {
int confMaxCacheSize = cacheProp.maxCacheSize;
if (confMaxCacheSize <= 0) {
confMaxCacheSize = Integer.MAX_VALUE;
}
this.cacheStatsProvider = new EntityCacheStatsProvider((BaseCache) readyStore, confMaxCacheSize);
// registryMediator.registerProvider(cacheStatsProvider);
cacheProbeListener = new EjbCacheStatsProvider(cacheStatsProvider, getContainerId(), containerInfo.appName, containerInfo.modName, containerInfo.ejbName);
cacheProbeListener.register();
}
poolProbeListener = new EjbPoolStatsProvider(entityCtxPool, getContainerId(), containerInfo.appName, containerInfo.modName, containerInfo.ejbName);
poolProbeListener.register();
_logger.log(Level.FINE, "[Entity Container] registered monitorable");
}
use of com.sun.ejb.monitoring.stats.EjbPoolStatsProvider in project Payara by payara.
the class MessageBeanContainer method registerMonitorableComponents.
protected void registerMonitorableComponents(Method[] msgListenerMethods) {
super.registerMonitorableComponents();
poolProbeListener = new EjbPoolStatsProvider(messageBeanPool_, getContainerId(), containerInfo.appName, containerInfo.modName, containerInfo.ejbName);
poolProbeListener.register();
// registryMediator.registerProvider(messageBeanPool_);
// super.setMonitorOn(mdbc.isMonitoringEnabled());
_logger.log(Level.FINE, "[MessageBeanContainer] registered monitorable");
}
Aggregations