001    package railo.runtime.type.scope;
002    
003    import railo.runtime.type.Scope;
004    
005    /**
006     * implemetnation of the application scope
007     */
008    public interface Application extends Scope {
009    
010        /**
011         * @return returns the last acces to this session scope
012         */
013        public abstract long getLastAccess();
014    
015        /**
016         * @return returns the actuell timespan of the application
017         */
018        public abstract long getTimeSpan();
019    
020        /**
021         * @return is expired
022         */
023        public abstract boolean isExpired();
024    
025            /**
026             * sets the last access timestamp to now
027             */
028            public abstract void touch();
029    
030    }