Examples of WebModuleStatistics


Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     *
     * @return Highest time taken to persist HTTP Session State to back-end
     * store
     */
    public CountStatistic getSessionPersistTimeHigh() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            sessionPersistTimeHigh.setCount(stats.getValveSaveHigh());
        } else {
            sessionPersistTimeHigh.setCount(-1);
        }
        return (CountStatistic) sessionPersistTimeHigh.unmodifiableView();        
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     *
     * @return Average time taken to persist HTTP Session State to back-end
     * store
     */
    public CountStatistic getSessionPersistTimeAvg() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            sessionPersistTimeAvg.setCount(stats.getValveSaveAverage());
        } else {
            sessionPersistTimeAvg.setCount(-1);
        }
        return (CountStatistic) sessionPersistTimeAvg.unmodifiableView();        
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     * web module associated with this EEWebModuleStatsImpl.
     *
     * @return session size stat
     */   
    public AverageRangeStatistic getSessionSize() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            return stats.getSessionSizeStat();
        } else {
            return WebModuleStatistics.createDefaultStat(WebModuleStatistics.SESSION_SIZE, "byte", "Low/High/Average Session");
            //return new MutableAverageRangeStatisticImpl(new BoundedRangeStatisticImpl("session_size", "byte", 0L, 0L, 0L));
        }       
    }   
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     * web module associated with this EEWebModuleStatsImpl.
     *
     * @return Lowest session size
     */
    public CountStatistic getSessionSizeLow() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            sessionSizeLow.setCount(stats.getSessionSizeLow());
        } else {
            sessionSizeLow.setCount(-1);
        }
        return (CountStatistic) sessionSizeLow.unmodifiableView();
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     * web module associated with this EEWebModuleStatsImpl.
     *
     * @return Highest session size
     */
    public CountStatistic getSessionSizeHigh() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            sessionSizeHigh.setCount(stats.getSessionSizeHigh());
        } else {
            sessionSizeHigh.setCount(0);
        }
        return (CountStatistic) sessionSizeHigh.unmodifiableView();       
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     * web module associated with this EEWebModuleStatsImpl.
     *
     * @return Average session size
     */
    public CountStatistic getSessionSizeAvg() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            sessionSizeAvg.setCount(stats.getSessionSizeAverage());
        } else {
            sessionSizeAvg.setCount(-1);
        }
        return (CountStatistic) sessionSizeAvg.unmodifiableView();        
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     *
     * @return latency stat for the web container's part of the overall
     * request latency
     */   
    public AverageRangeStatistic getContainerLatency() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            return stats.getPipelineStat();
        } else {
            return WebModuleStatistics.createDefaultStat(WebModuleStatistics.CONTAINER_LATENCY, "millisecond", "Low/High/Average Container Latency");
            //return new MutableAverageRangeStatisticImpl(new BoundedRangeStatisticImpl("container_latency", "millisecond", 0L, 0L, 0L));
        }       
    }   
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     *
     * @return Lowest latency for the web container's part of the overall
     * request latency
     */
    public CountStatistic getContainerLatencyLow() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            containerLatencyLow.setCount(stats.getPipelineLow());
        } else {
            containerLatencyLow.setCount(-1);
        }
        return (CountStatistic) containerLatencyLow.unmodifiableView();       
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     *
     * @return Highest latency for the web container's part of the overall
     * request latency
     */
    public CountStatistic getContainerLatencyHigh() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            containerLatencyHigh.setCount(stats.getPipelineHigh());
        } else {
            containerLatencyHigh.setCount(-1);
        }
        return (CountStatistic) containerLatencyHigh.unmodifiableView();        
    }
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.WebModuleStatistics

     *
     * @return Average latency for the web container's part of the overall
     * request latency
     */
    public CountStatistic getContainerLatencyAvg() {
        WebModuleStatistics stats = null;
        stats = getWebModuleStatistics();
        if(stats != null) {
            containerLatencyAvg.setCount(stats.getPipelineAverage());
        } else {
            containerLatencyAvg.setCount(-1);
        }
        return (CountStatistic) containerLatencyAvg.unmodifiableView();        
    }
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.