Package ariba.util.core

Examples of ariba.util.core.PerformanceCheck$ErrorSink


    public PerformanceCheck defaultPerformanceCheck ()
    {
        if (_PerformanceChecker == null) {
            // warn at 15 sec, error at one minute
            PerformanceCheck checker = new PerformanceCheck(4000,30000, null);

            // Page sizes: warn at 130K, error at 200K
            checker.addChecker(
                new PerformanceChecker(
                    AWBaseResponse.PageGenerationSizeCounter,
                    130000,
                    200000));
View Full Code Here


        // Flush current page size info so it's available in stats bag now
        ((AWBaseResponse)response()).flushSizeStat();

        if (PerfWarningsEnabled) {
            PerformanceState.Stats stats = PerformanceState.getThisThreadHashtable();
            PerformanceCheck checker;
            if (stats != null && (checker = stats.getPerformanceCheck()) != null) {
                checker.checkAndRecord(stats, this);
            }
        }

        if (requestContext.wasPathDebugRequest()){
            Object type = request().formValueForKey("cpDebug");
View Full Code Here

TOP

Related Classes of ariba.util.core.PerformanceCheck$ErrorSink

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.