Search in sources :

Example 1 with EjbPoolStatsProvider

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");
}
Also used : EjbPoolStatsProvider(com.sun.ejb.monitoring.stats.EjbPoolStatsProvider)

Example 2 with EjbPoolStatsProvider

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");
}
Also used : EjbPoolStatsProvider(com.sun.ejb.monitoring.stats.EjbPoolStatsProvider) EjbCacheStatsProvider(com.sun.ejb.monitoring.stats.EjbCacheStatsProvider) BaseCache(com.sun.appserv.util.cache.BaseCache)

Example 3 with EjbPoolStatsProvider

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");
}
Also used : EjbPoolStatsProvider(com.sun.ejb.monitoring.stats.EjbPoolStatsProvider)

Aggregations

EjbPoolStatsProvider (com.sun.ejb.monitoring.stats.EjbPoolStatsProvider)3 BaseCache (com.sun.appserv.util.cache.BaseCache)1 EjbCacheStatsProvider (com.sun.ejb.monitoring.stats.EjbCacheStatsProvider)1