Examples of CountStatisticImpl


Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

  
    private void initializeStatistics() {

        startTime = System.currentTimeMillis();
       
        CountStatistic c = new CountStatisticImpl("CountRequests");
        countRequests = new MutableCountStatisticImpl(c);
       
        c = new CountStatisticImpl("CountBytesReceived");
        countBytesReceived = new MutableCountStatisticImpl(c);
       
        c = new CountStatisticImpl("CountBytesTransmitted");
        countBytesTransmitted = new MutableCountStatisticImpl(c);
       
        c = new CountStatisticImpl("RateBytesTransmitted");
        rateBytesTransmitted = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("MaxByteTransmissionRate");
        maxByteTransmissionRate = new MutableCountStatisticImpl(c);
       
        c = new CountStatisticImpl("CountOpenConnections");
        countOpenConnections = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("MaxOpenConnections");
        maxOpenConnections = new MutableCountStatisticImpl(c);
       
        c = new CountStatisticImpl("Count2xx");
        count2xx = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count3xx");
        count3xx = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count4xx");
        count4xx = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count5xx");
        count5xx = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("CountOther");
        countOther = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count200");
        count200 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count302");
        count302 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count304");
        count304 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count400");
        count400 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count401");
        count401 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count403");
        count403 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count404");
        count404 = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("Count503");
        count503 = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

   
    private void initializeStatistics() {
       
        jspCount = new MutableCountStatisticImpl(
                        new CountStatisticImpl("JspCount"));
        jspReloadCount = new MutableCountStatisticImpl(
                        new CountStatisticImpl("JspReloadCount"));
        jspErrorCount = new MutableCountStatisticImpl(
                        new CountStatisticImpl("JspErrorCount"));
        sessionsTotal = new MutableCountStatisticImpl(
                        new CountStatisticImpl("SessionsTotal"));
        activeSessionsCurrent = new MutableCountStatisticImpl(
                        new CountStatisticImpl("ActiveSessionsCurrent"));
        activeSessionsHigh = new MutableCountStatisticImpl(
                        new CountStatisticImpl("ActiveSessionsHigh"));
        rejectedSessionsTotal = new MutableCountStatisticImpl(
                        new CountStatisticImpl("RejectedSessionsTotal"));
        expiredSessionsTotal = new MutableCountStatisticImpl(
                        new CountStatisticImpl("ExpiredSessionsTotal"));
        processingTimeMillis = new MutableCountStatisticImpl(
                    new CountStatisticImpl("ServletProcessingTimes"));
        initTime = System.currentTimeMillis ();
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

    }
   
    private void initializeStatistics() {
       
       // Initialize the MutableCountStatistic for TotalCompilationTime
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.total_compilation_time"),
            localStrMgr.getString("monitor.stats.milli_sec_units"),
            localStrMgr.getString("monitor.stats.total_compilation_time_desc"));
        compileTime = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

    }
   
    private void initializeStatistics() {
       
        // Initialize the MutableCountStatistic for CurrentThreadCpuTime
        CountStatistic c = new CountStatisticImpl(
                localStrMgr.getString("thread_cpu_time"),
                localStrMgr.getString("monitor.stats.nano_sec_units"),
                localStrMgr.getString("thread_cpu_time_desc"));
        curThreadCpuTime = new MutableCountStatisticImpl(c);

        // Initialize the MutableCountStatistic for DaemonThreadCount
        c= new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.daemon_thread_count"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.daemon_thread_count_desc"));
        daemonThreadCount = new MutableCountStatisticImpl(c);

        // Initialize the MutableCountStatistic for PeakThreadCount
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.peak_thread_count"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.peak_thread_count_desc"));
        peakThreadCount = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for ThreadCount
        c = new CountStatisticImpl(
                localStrMgr.getString("monitor.stats.thread_count"),
                StatisticImpl.DEFAULT_UNIT,
                localStrMgr.getString("monitor.stats.thread_count_desc"));
        threadCount = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for TotalStartedThreadCount
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.started_thread_count"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.started_thread_count_desc"));
        totalStartedThreadCount = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

    }
   
    private void initializeStatistics() {
       
       // Initialize the MutableCountStatistic for TotalLoadedClassCount
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.total_classes_load"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.total_classes_load_desc"));
        totalLoadedClassCount = new MutableCountStatisticImpl(c);

       // Initialize the MutableCountStatistic for LoadedClassCount
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.classes_loaded"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.classes_loaded_desc"));
        loadedClassCount = new MutableCountStatisticImpl(c);

       // Initialize the MutableCountStatistic for UnLoadedClassCount
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.classes_unloaded"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.classes_unloaded_desc"));
        unloadedClassCount = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

    }
   
    private void initializeStatistics() {
       
        // Initialize the MutableCountStatistic for BlockedTime
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.blocked_time"),
            localStrMgr.getString("monitor.stats.milli_sec_units"),
            localStrMgr.getString("monitor.stats.blocked_time_desc"));
        blockedTime = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for BlockedCount
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.blocked_count"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.blocked_count_desc"));
        blockedCount = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for LockOwnerId
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.lock_owner_id"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.lock_owner_id_desc"));
        blockedCount = new MutableCountStatisticImpl(c);
        lockOwnerId = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for ThreadId
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.thread_id"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.thread_id_desc"));
        threadId = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for WaitingCount
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.waiting_count"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.waiting_count_desc"));
        waitingCount = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for WaitingTime
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.waiting_time"),
            localStrMgr.getString("monitor.stats.milli_sec_units"),
            localStrMgr.getString("monitor.stats.waiting_time_desc"));
        waitingTime = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

    }
   
    private void initializeStatistics() {
       
       // Initialize the MutableCountStatistic for TotalCompilationTime
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.total_compilation_time"),
            localStrMgr.getString("monitor.stats.milli_sec_units"),
            localStrMgr.getString("monitor.stats.milli_sec_units_desc"));
        upTime = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

   
    private void initializeStatistics() {
        String bytes_str = localStrMgr.getString(BYTE_UNITS);

        // Initialize the MutableCountStatistic for InitialHeapSize
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.initial_heap_size"), bytes_str,
            localStrMgr.getString("monitor.stats.initial_heap_size_desc"));
        initHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for MaxHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.max_heap_size"), bytes_str,
            localStrMgr.getString("monitor.stats.max_heap_size_desc"));
        maxHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for UsedHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.used_heap_size"), bytes_str,
            localStrMgr.getString("monitor.stats.used_heap_size_desc"));
        usedHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for CommittedHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.committed_heap_size"), bytes_str,
            localStrMgr.getString("monitor.stats.committed_heap_size_desc"));
        commitHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for InitialNonHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.initial_non_heap_size"), bytes_str,
            localStrMgr.getString("monitor.stats.initial_non_heap_size_desc"));
        initNonHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for MaxNonHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.max_non_heap_size"),bytes_str,
            localStrMgr.getString("monitor.stats.max_non_heap_size_desc"));
        maxNonHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for UsedNonHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.used_non_heap_size") ,bytes_str,
            localStrMgr.getString("monitor.stats.used_non_heap_size_desc"));
        usedNonHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for CommittedNonHeapSize
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.committed_non_heap_size"),
            bytes_str,
            localStrMgr.getString("monitor.stats.committed_non_heap_size_desc"));
        commitNonHeapSize = new MutableCountStatisticImpl(c);
       
        // Initialize the MutableCountStatistic for ObjectsPendingFinalization
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.objs_pending_serialization"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.objs_pending_serialization_desc"));
        objPendingCount = new MutableCountStatisticImpl(c);
    }
View Full Code Here

Examples of org.activemq.management.CountStatisticImpl

     * Default Constructor
     * @param componentName
     */
    public MessagingStats(String componentName) {
        this.componentName = componentName;
        inboundExchanges = new CountStatisticImpl("inboundExchanges", "Number of Inbound MessageExchanges");
        outboundExchanges = new CountStatisticImpl("outboundExchanges", "Number of Outbound MessageExchanges");
        inboundExchangeRate = new TimeStatisticImpl("inboundExchangeRate", "time taken to process an Exchange");
        outboundExchangeRate = new TimeStatisticImpl("outboundExchangeRate", "time taken to send an Exchange");
        addStatistic("inboundExchanges", inboundExchanges);
        addStatistic("outboundExchanges", outboundExchanges);
        addStatistic("inboundExchangeRate", inboundExchangeRate);
View Full Code Here

Examples of org.apache.activemq.management.CountStatisticImpl

    protected CountStatisticImpl dispatched;
    protected TimeStatisticImpl processTime;

    public DestinationStatistics() {

        enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the destination");
        dispatched = new CountStatisticImpl("dispatched", "The number of messages that have been dispatched from the destination");
        dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the destination");
        consumers = new CountStatisticImpl("consumers", "The number of consumers that that are subscribing to messages from the destination");
        messages = new CountStatisticImpl("messages", "The number of messages that that are being held by the destination");
        messagesCached = new PollCountStatisticImpl("messagesCached", "The number of messages that are held in the destination's memory cache");
        processTime = new TimeStatisticImpl("processTime", "information around length of time messages are held by a destination");
        addStatistic("enqueues", enqueues);
        addStatistic("dispatched", dispatched);
        addStatistic("dequeues", dequeues);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.