Examples of MutableCountStatisticImpl


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

    }

   
    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.MutableCountStatisticImpl

       // 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.MutableCountStatisticImpl

        // 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.MutableCountStatisticImpl

       // 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.MutableCountStatisticImpl

        // 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.MutableCountStatisticImpl

       // 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.MutableCountStatisticImpl

        // 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 com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl

       // Initialize the MutableCountStatistic for CollectionCount
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.collection_cnt"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.collection_cnt_desc"));
        collectionCount = new MutableCountStatisticImpl(c);

       // Initialize the MutableCountStatistic for CollectionTime
        c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.collection_time"),
            localStrMgr.getString("monitor.stats.milli_sec_units"),
            localStrMgr.getString("monitor.stats.collection_time_desc"));
        collectionTime = new MutableCountStatisticImpl(c);
    }       
View Full Code Here

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

       // Initialize the MutableCountStatistic for AvailableProcessors
        CountStatistic c = new CountStatisticImpl(
            localStrMgr.getString("monitor.stats.avail_procs"),
            StatisticImpl.DEFAULT_UNIT,
            localStrMgr.getString("monitor.stats.avail_procs_desc"));
        availProcs = new MutableCountStatisticImpl(c);
    }           
View Full Code Here

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

    }

    private void initializeStatistics() {
        CountStatistic c;
        c = new CountStatisticImpl("TotalIncomingSipRequestsFE");
        totalIncomingSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalProxiedSipRequestsFE");
        totalProxiedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalLocalSipRequestsFE");
        totalLocalSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalFailedOverSipRequestsFE");
        totalFailedOverSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalErrorSipResponsesAtCLBLayerFE");
        totalErrorSipResponsesAtCLBLayer = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalIncomingSipResponsesFE");
        totalIncomingSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalProxiedSipResponsesFE");
        totalProxiedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalLocalSipResponsesFE");
        totalLocalSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalDiscardedSipResponsesFE");
        totalDiscardedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalOutgoingSipResponsesFE");
        totalOutgoingSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalIncomingHttpRequestsFE");
        totalIncomingHttpRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalProxiedHttpRequestsFE");
        totalProxiedHttpRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalLocalHttpRequestsFE");
        totalLocalHttpRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalFailedOverHttpRequestsFE");
        totalFailedOverHttpRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalErrorHttpResponsesAtCLBLayerFE");
        totalErrorHttpResponsesAtCLBLayer = new MutableCountStatisticImpl(c);
    }
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.