001    package railo.runtime.debug;
002    
003    import railo.commons.io.res.Resource;
004    
005    /**
006     * debug page
007     */
008    public interface DebugPage {
009    
010        /**
011         * sets the execution time of the page
012         * @param t execution time of the page
013         */
014        public abstract void set(long t);
015    
016        /**
017         * return the minimum execution time of the page
018         * @return minimum execution time
019         */
020        public abstract int getMinimalExecutionTime();
021    
022        /**
023         * return the maximum execution time of the page
024         * @return maximum execution time
025         */
026        public abstract int getMaximalExecutionTime();
027    
028        /**
029         * return the average execution time of the page
030         * @return average execution time
031         */
032        public abstract int getAverageExecutionTime();
033    
034        /**
035         * return count of call the page
036         * @return average execution time
037         */
038        public abstract int getCount();
039    
040        /**
041         * return file represetati9on of the debug page
042         * @return file object
043         */
044        public abstract Resource getFile();
045    
046    }