public StatefulSessionBeanStatsProvider(StatefulSessionContainer delegate, long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); long now = System.currentTimeMillis(); methodReadyStat = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxCacheSize(), 0, "MethodReadyCount", "count", "Number of stateful session beans in MethodReady state", now, now); passiveCount = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "PassiveCount", "count", "Number of stateful session beans in Passive state", now, now); }
public StatefulSessionBeanStatsProvider(StatefulSessionContainer delegate, long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); this.delegate = delegate; long now = System.currentTimeMillis(); methodReadyStat = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxCacheSize(), 0, "MethodReadyCount", "count", "Number of stateful session beans in MethodReady state", now, now); passiveCount = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "PassiveCount", "count", "Number of stateful session beans in Passive state", now, now); }
public EjbCacheStatsProvider(EJBCacheStatsProvider delegate, long beanId, String appName, String moduleName, String beanName) { this.delegate = delegate; this.beanId = beanId; this.appName = appName; this.moduleName = moduleName; this.beanName = beanName; long now = System.currentTimeMillis(); numBeans = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxCacheSize(), 0, "NumBeansInCache", "count", "Provides total number of EJBs in the associated EJB Cache.", now, now); cacheHits = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "CacheHits", "count", "Provides the number of times a user request hits an EJB in associated EJB cache instance", now, now); cacheMisses = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "CacheMisses", "count", "Provides the number of times a user request fails to find an EJB in associated EJB cache instance", now, now); }
public EjbCacheStatsProvider(EjbCacheStatsProviderDelegate delegate, long beanId, String appName, String moduleName, String beanName) { this.delegate = delegate; this.beanId = beanId; this.appName = appName; this.moduleName = moduleName; this.beanName = beanName; long now = System.currentTimeMillis(); numBeans = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxCacheSize(), 0, "NumBeansInCache", "count", "Provides total number of EJBs in the associated EJB Cache.", now, now); cacheHits = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "CacheHits", "count", "Provides the number of times a user request hits an EJB in associated EJB cache instance", now, now); cacheMisses = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "CacheMisses", "count", "Provides the number of times a user request fails to find an EJB in associated EJB cache instance", now, now); }
public EntityBeanStatsProvider(EntityContainer delegate, long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); this.delegate = delegate; long now = System.currentTimeMillis(); pooledCount = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxPoolSize(), delegate.getSteadyPoolSize(), "PooledCount", "count", "Number of entity beans in pooled state", now, now); readyCount = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxCacheSize(), 0, "ReadyCount", "count", "Number of entity beans in ready state", now, now); }
public StatelessSessionBeanStatsProvider(StatelessSessionContainer delegate, long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); this.delegate = delegate; long now = System.currentTimeMillis(); methodReadyCount = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxPoolSize(), delegate.getSteadyPoolSize(), "MethodReadyCount", "count", "Number of stateless session beans in MethodReady state", now, now); }
public StatelessSessionBeanStatsProvider(StatelessSessionContainer delegate, long beanId, String appName, String moduleName, String beanName) { super(beanId, appName, moduleName, beanName); this.delegate = delegate; long now = System.currentTimeMillis(); methodReadyCount = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxPoolSize(), delegate.getSteadyPoolSize(), "MethodReadyCount", "count", "Number of stateless session beans in MethodReady state", now, now); }
public EjbPoolStatsProvider(AbstractPool delegate, long beanId, String appName, String moduleName, String beanName) { this.delegate = delegate; this.beanId = beanId; this.appName = appName; this.moduleName = moduleName; this.beanName = beanName; delegate.setInfo(appName, moduleName, beanName); long now = System.currentTimeMillis(); beansInPool = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxPoolSize(), delegate.getSteadyPoolSize(), "NumBeansInPool", "count", "Number of EJBs in associated pool", now, now); threadsWaiting = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "NumThreadsWaiting", "count", "Number of threads waiting for free beans", now, now); }
public EjbPoolStatsProvider(AbstractPool delegate, long beanId, String appName, String moduleName, String beanName) { this.delegate = delegate; this.beanId = beanId; this.appName = appName; this.moduleName = moduleName; this.beanName = beanName; delegate.setInfo(appName, moduleName, beanName); long now = System.currentTimeMillis(); beansInPool = new BoundedRangeStatisticImpl( 0, 0, 0, delegate.getMaxPoolSize(), delegate.getSteadyPoolSize(), "NumBeansInPool", "count", "Number of EJBs in associated pool", now, now); threadsWaiting = new BoundedRangeStatisticImpl( 0, 0, 0, Long.MAX_VALUE, 0, "NumThreadsWaiting", "count", "Number of threads waiting for free beans", now, now); }
new BoundedRangeStatisticImpl( threadPool.currentNumberOfThreads(), threadPool.maximumNumberOfThreads(), threadPool.minimumNumberOfThreads(), java.lang.Long.MAX_VALUE, 0, stringCurrentNumberOfThreads, "count", new BoundedRangeStatisticImpl( threadPool.averageWorkCompletionTime(), 0, 0, java.lang.Long.MAX_VALUE, 0, stringAverageWorkCompletionTime, "Milliseconds", new BoundedRangeStatisticImpl( workQueue.workItemsInQueue(), 0, 0, java.lang.Long.MAX_VALUE, 0, stringNumberOfWorkItemsInQueue, "count", new BoundedRangeStatisticImpl( workQueue.averageTimeInQueue(), 0, 0, java.lang.Long.MAX_VALUE, 0, stringAverageTimeInQueue, "Milliseconds",