Refine search
@Probe(name="methodEndEvent", hidden=true) public void ejbMethodEndEvent( @ProbeParam("beanId") long beanId, @ProbeParam("appName") String appName, @ProbeParam("modName") String modName, @ProbeParam("ejbName") String ejbName, @ProbeParam("exception") Throwable exception, @ProbeParam("method") String method_sig) {}
@ProbeListener("glassfish:ejb:cache:expiredSessionsRemovedEvent") public void ejbExpiredSessionsRemovedEvent( @ProbeParam("beanId") long beanId, @ProbeParam("appName") String appName, @ProbeParam("modName") String modName, @ProbeParam("ejbName") String ejbName, @ProbeParam("num") long num) { if (this.beanId == beanId) { expiredSessionsRemovedStat.increment(num); } } }
@ProbeListener("glassfish:kernel:thread-pool:setMaxThreadsEvent") public void setMaxThreadsEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("maxNumberOfThreads") int maxNumberOfThreads) { maxThreadsCount.setCount(maxNumberOfThreads); }
@ProbeListener("glassfish:kernel:thread-pool:threadReleasedEvent") public void threadReleasedEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { currentThreadCount.decrement(); }
@ProbeListener("glassfish:kernel:thread-pool:threadReturnedToPoolEvent") public void threadReturnedToPoolEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { totalExecutedTasksCount.increment(); currentThreadsBusy.decrement(); }
@ProbeListener("glassfish:kernel:thread-pool:threadAllocatedEvent") public void threadAllocatedEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { currentThreadCount.increment(); }
@ProbeListener("glassfish:kernel:thread-pool:setCoreThreadsEvent") public void setCoreThreadsEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("coreNumberOfThreads") int coreNumberOfThreads) { coreThreadsCount.setCount(coreNumberOfThreads); }
@ProbeListener("glassfish:kernel:thread-pool:threadReleasedEvent") public void threadReleasedEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { if (name.equals(monitoringId)) { currentThreadCount.decrement(); } }
@Probe(name="expiredSessionsRemovedEvent") public void ejbExpiredSessionsRemovedEvent( @ProbeParam("beanId") long beanId, @ProbeParam("appName") String appName, @ProbeParam("modName") String modName, @ProbeParam("ejbName") String ejbName, @ProbeParam("num") long num) {} }
@ProbeListener("glassfish:kernel:thread-pool:threadDispatchedFromPoolEvent") public void threadDispatchedFromPoolEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { currentThreadsBusy.increment(); }
@ProbeListener("glassfish:kernel:thread-pool:setMaxThreadsEvent") public void setMaxThreadsEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("maxNumberOfThreads") int maxNumberOfThreads) { if (name.equals(monitoringId)) { maxThreadsCount.setCount(maxNumberOfThreads); } }
@ProbeListener("glassfish:ejb:pool:objectAddFailedEvent") public void ejbObjectAddFailedEvent( @ProbeParam("beanId") long beanId, @ProbeParam("appName") String appName, @ProbeParam("modName") String modName, @ProbeParam("ejbName") String ejbName) { if (this.beanId == beanId) { createdStat.decrement(); } else { logWrongEvent(appName, modName, ejbName); } }
@Probe(name="beanPassivatedEvent") public void ejbBeanPassivatedEvent( @ProbeParam("beanId") long beanId, @ProbeParam("appName") String appName, @ProbeParam("modName") String modName, @ProbeParam("ejbName") String ejbName, @ProbeParam("success") boolean success) {}
@ProbeListener("glassfish:kernel:thread-pool:threadDispatchedFromPoolEvent") public void threadDispatchedFromPoolEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { if (name.equals(monitoringId)) { currentThreadsBusy.increment(); } }
@ProbeListener("glassfish:kernel:connection-queue:setMaxTaskQueueSizeEvent") public void setMaxTaskQueueSizeEvent( @ProbeParam("listenerName") String listenerName, @ProbeParam("size") int size) { maxQueued.setCount(size); }
@ProbeListener("glassfish:security:web:policyDestructionEvent") public void policyConfigurationDestructionEvent( @ProbeParam("contextId") String contextId) { policyConfCount.decrement(); }
@Probe(name="expiredSessionsRemovedEvent") public void ejbExpiredSessionsRemovedEvent( @ProbeParam("beanId") long beanId, @ProbeParam("appName") String appName, @ProbeParam("modName") String modName, @ProbeParam("ejbName") String ejbName, @ProbeParam("num") long num) {} }
@ProbeListener("glassfish:kernel:thread-pool:threadAllocatedEvent") public void threadAllocatedEvent( @ProbeParam("monitoringId") String monitoringId, @ProbeParam("threadPoolName") String threadPoolName, @ProbeParam("threadId") long threadId) { if (name.equals(monitoringId)) { currentThreadCount.increment(); } }
@ProbeListener("glassfish:kernel:connections-keep-alive:setMaxCountRequestsEvent") @Override public void setMaxCountRequestsEvent( @ProbeParam("listenerName") String listenerName, @ProbeParam("maxRequests") int max) { maxRequestsCount.setCount(max); }
@ProbeListener("glassfish:security:web:policyDestructionEvent") public void policyConfigurationDestructionEvent( @ProbeParam("contextId") String contextId) { policyConfCount.decrement(); }