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