Package com.sun.enterprise.admin.monitor.stats

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


        baseStatsImpl = new GenericStatsImpl(CLBBackendStats.class, this);
    }

    private void initializeStatistics() {
        CountStatistic c;
        c = new CountStatisticImpl("TotalOutgoingSipRequestsBE");
        totalOutgoingSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("TotalIncomingSipRequestsBE");
        totalIncomingSipRequests = new MutableCountStatisticImpl(c);

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

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

        c = new CountStatisticImpl("TotalIncomingHttpRequestsBE");
        totalIncomingHttpRequests = new MutableCountStatisticImpl(c);
    }
View Full Code Here


    protected void initialize() {
       super.initialize(
       "com.sun.appserv.management.monitor.statistics.WebServiceEndpointAggregateStats");

        averageResponseTime = new MutableCountStatisticImpl(
            new CountStatisticImpl("AverageResponseTime", DEFAULT_TIME_UNIT));
        minResponseTime = new MutableCountStatisticImpl(
            new CountStatisticImpl("MinResponseTime", DEFAULT_TIME_UNIT));
        maxResponseTime = new MutableCountStatisticImpl(
            new CountStatisticImpl("MaxResponseTime", DEFAULT_TIME_UNIT));
        responseTime = new MutableCountStatisticImpl(
            new CountStatisticImpl("ResponseTime", DEFAULT_TIME_UNIT));
        totalFaults = new MutableCountStatisticImpl(
            new CountStatisticImpl("TotalFaults"));
        totalSuccesses = new MutableCountStatisticImpl(
            new CountStatisticImpl("TotalNumSuccess"));
        totalAuthFailures = new MutableCountStatisticImpl(
            new CountStatisticImpl("TotalAuthFailures"));
        totalAuthSuccesses = new MutableCountStatisticImpl(
            new CountStatisticImpl("TotalAuthSuccesses"));
        long t = System.currentTimeMillis();
        String description = _stringMgr.getString("throughput.description");
        throughput = new NumberStatisticImpl(
            "Throughput", description, "Requests Per Second", t, t,
            new Double(0.0));
        requestSize = new MutableCountStatisticImpl(
            new CountStatisticImpl("RequestSize", DEFAULT_SIZE_UNIT));
        responseSize = new MutableCountStatisticImpl(
            new CountStatisticImpl("ResponseSize", DEFAULT_SIZE_UNIT));

    }
View Full Code Here

        this.dialogManager = (DialogManager)provider;
    }

    private void initializeStatistics() {
        CountStatistic c;
        c = new CountStatisticImpl("FailedSipDialogs");
        failedSipDialogs = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("ConcurrentSipDialogs");
        concurrentSipDialogs = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("expiredSipDialogs");
        expiredSipDialogs = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("successfulSipDialogs");
        successfulSipDialogs = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("totalSipDialogCount");
        totalSipDialogCount = new MutableCountStatisticImpl(c);

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

    }

   private void initializeStatistics() {

        CountStatistic c;
        c = new CountStatisticImpl("INVITEReceivedSipRequests");
        inviteReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("PUBLISHReceivedSipRequests");
        publishReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("REGISTERReceivedSipRequests");
        registerReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("ACKReceivedSipRequests");
        ackReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("BYEReceivedSipRequests");
        byeReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("CANCELReceivedSipRequests");
        cancelReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("OPTIONSReceivedSipRequests");
        optionsReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("PRACKReceivedSipRequests");
        prackReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("SUBSCRIBEReceivedSipRequests");
        subscribeReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("NOTIFYReceivedSipRequests");
        notifyReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("INFOReceivedSipRequests");
        infoReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("REFERReceivedSipRequests");
        referReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("MESSAGEReceivedSipRequests");
        messageReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("UPDATEReceivedSipRequests");
        updateReceivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("OTHERReceivedSipRequests");
        otherReceivedSipRequests = new MutableCountStatisticImpl(c);

   }
View Full Code Here

        this.networkManager = (NetworkManager)provider;
    }

    private void initializeStatistics() {
        CountStatistic c;
        c = new CountStatisticImpl("InvalidSipMessages");
        invalidSipMessages = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("ReceivedSipRequests");
        receivedSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("ReceivedSipResponses");
        receivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("SentSipRequests");
        sentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("SentSipResponses");
        sentSipResponses = new MutableCountStatisticImpl(c);
    }
View Full Code Here

        this.transactionManager = (TransactionManager)provider;
    }

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

        c = new CountStatisticImpl("sipServerTransactions");
        sipServerTransactions = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("totalSipTransactionCount");
        totalSipTransactionCount = new MutableCountStatisticImpl(c);

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

        this.overloadProtectionManager = (OverloadProtectionManager)provider;
    }

    private void initializeStatistics() {
        CountStatistic c;
        c = new CountStatisticImpl("OverloadRejectedHttpRequests");
        overloadRejectedHttpRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("OverloadRejectedSipRequests");
        overloadRejectedSipRequests = new MutableCountStatisticImpl(c);
    }
View Full Code Here

        this.networkManager = (NetworkManager)provider;
    }
    private void initializeStatistics() {

        CountStatistic c;
        c = new CountStatisticImpl("1xxReceivedSipResponses");
        _1xxReceivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("2xxReceivedSipResponses");
        _2xxReceivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("3xxReceivedSipResponses");
        _3xxReceivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("4xxReceivedSipResponses");
        _4xxReceivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("420ReceivedSipResponses");
        _420ReceivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("5xxReceivedSipResponses");
        _5xxReceivedSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("6xxReceivedSipResponses");
        _6xxReceivedSipResponses = new MutableCountStatisticImpl(c);

   }
View Full Code Here

    }

    private void initializeStatistics() {

        CountStatistic c;
        c = new CountStatisticImpl("INVITESentSipRequests");
        inviteSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("PUBLISHSentSipRequests");
        publishSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("REGISTERSentSipRequests");
        registerSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("ACKSentSipRequests");
        ackSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("BYESentSipRequests");
        byeSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("CANCELSentSipRequests");
        cancelSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("OPTIONSSentSipRequests");
        optionsSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("PRACKSentSipRequests");
        prackSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("SUBSCRIBESentSipRequests");
        subscribeSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("NOTIFYSentSipRequests");
        notifySentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("PUBLISHSentSipRequests");
        publishSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("INFOSentSipRequests");
        infoSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("REFERSentSipRequests");
        referSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("MESSAGESentSipRequests");
        messageSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("UPDATESentSipRequests");
        updateSentSipRequests = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("OTHERSentSipRequests");
        otherSentSipRequests = new MutableCountStatisticImpl(c);

    }
View Full Code Here

        this.networkManager = (NetworkManager)provider;
    }
    private void initializeStatistics() {

        CountStatistic c;
        c = new CountStatisticImpl("1xxSentSipResponses");
        _1xxSentSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("2xxSentSipResponses");
        _2xxSentSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("3xxSentSipResponses");
        _3xxSentSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("4xxSentSipResponses");
        _4xxSentSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("420SentSipResponses");
        _420SentSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("5xxSentSipResponses");
        _5xxSentSipResponses = new MutableCountStatisticImpl(c);

        c = new CountStatisticImpl("6xxSentSipResponses");
        _6xxSentSipResponses = new MutableCountStatisticImpl(c);

    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.monitor.stats.CountStatisticImpl

Copyright © 2018 www.massapicom. 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.