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