Refine search
@ManagedAttribute(id="totalapplicationsdeployedcount") @Description(TOTAL_APPLICATIONS_DEPLOYED_DESCRIPTION) public CountStatistic getTotalApplicationsDeployed() { return totalApplicationsDeployedCount; }
@ManagedAttribute(id="threadid") @Description( "Returns the ID of the thread associated with this ThreadInfo" ) public CountStatistic getThreadId() { threadId.setCount(threadInfo.getThreadId()); return threadId; }
@ManagedAttribute(id = "heapsize") @Description("Current cache size in bytes") public CountStatistic getHeapSize() { final CountStatisticImpl stats = new CountStatisticImpl("HeapSize", "byte(s)", "Current cache size in bytes"); stats.setCount(heapSize.get()); return stats; }
@ManagedAttribute(id="numtimerscreated") @Description( "Number of timers created in the system") public CountStatistic getNumTimersCreated() { return timerCreateStat.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(); }
/** * {@inheritDoc} */ @ManagedAttribute public String getID() { return ID; }
@ManagedAttribute(id="webpolicyconfigurationcount") public CountStatistic getPCCount() { return policyConfCount.getStatistic(); } /* @ProbeListener("glassfish:core:web:webDeploymentStartedEvent")
@ManagedAttribute(id="uptime-count") @Description( "uptime of the Java virtual machine in milliseconds" ) public CountStatistic getUptime() { uptime.setCount(rtBean.getUptime()); return uptime; }
@ManagedAttribute(id = "maxmappedmemorysize") @Description("Maximum memory map size used for caching") public CountStatistic getMaxMappedMemorySize() { final CountStatisticImpl stats = new CountStatisticImpl( "MaxMappedMemorySize", "byte(s)", "Maximum memory map size used for caching"); stats.setCount(maxMappedMemorySize.get()); return stats; }
@ManagedAttribute(id="numtimersdelivered") @Description( "Number of timers delivered by the system") public CountStatistic getNumTimersDelivered() { return timerDeliveredStat.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(); }
/** * Getter for wsa:From header {@link WSEndpointReference}. * * @return address of the wsa:From header */ @ManagedAttribute public WSEndpointReference getFrom() { return from; }
@ManagedAttribute(id = "countqueued") @Description("Number of connections currently in the queue") public CountStatistic getCountQueued() { return countQueued; }
@ManagedAttribute(id="committednonheapsize-count") @Description( "amount of memory in bytes that is committed for the Java virtual machine to use" ) public CountStatistic getCommittedNonHeap() { committedNonHeap.setCount(memBean.getNonHeapMemoryUsage().getCommitted()); return committedNonHeap; }
@ManagedAttribute(id = "countopenconnections") @Description("The number of open/active connections") public CountStatistic getOpenConnectionsCount() { final CountStatisticImpl stats = new CountStatisticImpl("CountOpenConnections", "count", "The number of open/active connections"); stats.setCount(openConnectionsCount.size()); return stats; }
@ManagedAttribute(id="numpassivations") @Description( "Number of passivated beans") public CountStatistic getNumPassivations() { return passivations.getStatistic(); }
@ManagedAttribute @Description("Total number of available threads") public synchronized CountStatistic getNumberOfAvailableThreads() { long numAvailableThreads = (long) threadPool.numberOfAvailableThreads(); numberOfAvailableThreads.setCount(numAvailableThreads); return (CountStatistic) numberOfAvailableThreads.getStatistic(); }
@Override @ManagedAttribute public String getID() { return ID; }
@ManagedAttribute(id = "maxqueued") @Description("Maximum size of the connection queue") public CountStatistic getMaxQueued() { return maxQueued; }
@ManagedAttribute(id="usednonheapsize-count") @Description( "amount of used memory in bytes" ) public CountStatistic getUsedNonHeap() { usedNonHeap.setCount(memBean.getNonHeapMemoryUsage().getUsed()); return usedNonHeap; }