001    package coldfusion.runtime;
002    
003    import railo.runtime.engine.ThreadLocalPageContext;
004    
005    /**
006     * this is just a wrapper class to simulate the ACF implementation
007     */
008    public class RequestMonitor {
009            //public void beginRequestMonitor(String str){/* ignored */ }
010            //public void endRequestMonitor(){/* ignored */ }
011            //public void checkSlowRequest(Object obj){/* ignored */ }
012            //public boolean isRequestTimedOut()
013            public long getRequestTimeout(){
014                    return ThreadLocalPageContext.get().getRequestTimeout();
015            }
016            
017            
018            public void overrideRequestTimeout(long timeout){
019                    ThreadLocalPageContext.get().setRequestTimeout(timeout);
020            }
021            
022            
023    }