001 package railo.runtime.debug; 002 003 import railo.runtime.PageSource; 004 005 /** 006 * a single debug entry 007 */ 008 public interface DebugEntry { 009 010 /* * 011 * start the watch 012 */ 013 //public abstract void start(); 014 015 /* * 016 * stops the watch 017 * @return returns the current time or 0 if watch not was running 018 */ 019 //public abstract int stop(); 020 021 /* * 022 * @return returns the current time or 0 if watch is not running 023 */ 024 //public abstract int time(); 025 026 /* * 027 * resets the stopwatch 028 */ 029 //public abstract void reset(); 030 031 /** 032 * @return Returns the exeTime. 033 */ 034 public abstract int getExeTime(); 035 036 /** 037 * @param exeTime The exeTime to set. 038 */ 039 public abstract void updateExeTime(int exeTime); 040 041 /** 042 * @return Returns the fileLoadTime. 043 */ 044 public abstract int getFileLoadTime(); 045 046 /** 047 * @param fileLoadTime The fileLoadTime to set. 048 */ 049 public abstract void updateFileLoadTime(int fileLoadTime); 050 051 /** 052 * @param queryTime update queryTime 053 */ 054 public abstract void updateQueryTime(int queryTime); 055 056 /** 057 * @return Returns the src. 058 */ 059 public abstract String getSrc(); 060 061 /** 062 * @return Returns the count. 063 */ 064 public abstract int getCount(); 065 066 /** 067 * @return Returns the queryTime. 068 */ 069 public abstract int getQueryTime(); 070 071 /** 072 * @return Returns the max. 073 */ 074 public abstract int getMax(); 075 076 /** 077 * @return Returns the min. 078 */ 079 public abstract int getMin(); 080 081 /** 082 * @return Returns the PageSource. 083 */ 084 public abstract PageSource getPageSource(); 085 086 public abstract String getId(); 087 088 /** 089 * resets the query time to zero 090 */ 091 public abstract void resetQueryTime(); 092 093 }