@ManagedAttribute(id="websecuritymanagercount") public CountStatistic getWebSMCount() { return secMgrCount.getStatistic(); }
@ManagedAttribute(id="numconncreated") public CountStatistic getNumConnCreated() { return numConnCreated.getStatistic(); }
@ManagedAttribute(id="numconnreleased") public CountStatistic getNumConnReleased() { return numConnReleased.getStatistic(); }
@ManagedAttribute(id="numpotentialconnleak") public CountStatistic getNumPotentialConnLeakCount() { return numPotentialConnLeak.getStatistic(); }
@ManagedAttribute(id="numconnreleased") public CountStatistic getNumConnReleased() { return numConnReleased.getStatistic(); }
@ManagedAttribute(id="webpolicyconfigurationcount") public CountStatistic getPCCount() { return policyConfCount.getStatistic(); } /* @ProbeListener("glassfish:core:web:webDeploymentStartedEvent")
@ManagedAttribute(id="numconnacquired") public CountStatistic getNumConnAcquired() { return numConnAcquired.getStatistic(); }
@ManagedAttribute(id="createcount") @Description( "Number of times EJB create method is called") public CountStatistic getCreateCount() { return createStat.getStatistic(); }
@ManagedAttribute(id="numtimerscreated") @Description( "Number of timers created in the system") public CountStatistic getNumTimersCreated() { return timerCreateStat.getStatistic(); }
@ManagedAttribute(id="numtimersdelivered") @Description( "Number of timers delivered by the system") public CountStatistic getNumTimersDelivered() { return timerDeliveredStat.getStatistic(); } }
@ManagedAttribute(id="numpassivations") @Description( "Number of passivated beans") public CountStatistic getNumPassivations() { return passivations.getStatistic(); }
@ManagedAttribute(id="numpassivationerrors") @Description( "Number of errors during passivation.") public CountStatistic getNumPassivationErrors() { return passivationErrors.getStatistic(); }
@ManagedAttribute @Description( "Security Realm Count" ) public CountStatistic getRealmCount() { return realmCount.getStatistic(); }
@ManagedAttribute(id="removecount") @Description( "Number of times EJB remove method is called") public CountStatistic getRemoveCount() { return removeStat.getStatistic(); }
@ManagedAttribute(id="numtimersremoved") @Description( "Number of timers removed from the system") public CountStatistic getNumTimersRemoved() { return timerRemoveStat.getStatistic(); }
@ManagedAttribute(id="numexpiredsessionsremoved") @Description( "Number of expired sessions removed by the cleanup thread.") public CountStatistic getNumExpiredSessionsRemoved() { return expiredSessionsRemovedStat.getStatistic(); }
@ManagedAttribute(id="messagecount") @Description( "Number of messages received for a message-driven bean") public CountStatistic getCreateCount() { return messageCount.getStatistic(); }
@ManagedAttribute @Description("Total number of work items added to the queue") public synchronized CountStatistic getTotalWorkItemsAdded() { long totWorkItemsAdded = workQueue.totalWorkItemsAdded(); totalWorkItemsAdded.setCount(totWorkItemsAdded); return (CountStatistic) totalWorkItemsAdded.getStatistic(); }
@ManagedAttribute(id = "currentbusythreads") @Description("Total number of busy threads") public synchronized CountStatistic getNumberOfBusyThreads() { int numBusyThreads = threadPool.numberOfBusyThreads(); numberOfBusyThreads.setCount(numBusyThreads); return (CountStatistic) numberOfBusyThreads.getStatistic(); }
@ManagedAttribute @Description("Total number of available threads") public synchronized CountStatistic getNumberOfAvailableThreads() { long numAvailableThreads = (long) threadPool.numberOfAvailableThreads(); numberOfAvailableThreads.setCount(numAvailableThreads); return (CountStatistic) numberOfAvailableThreads.getStatistic(); }