railo.runtime.type.scope
Interface Application

All Superinterfaces:
Castable, java.lang.Cloneable, Collection, Dumpable, Iteratorable, java.util.Map, Scope, java.io.Serializable, Struct

public interface Application
extends Scope

implemetnation of the application scope


Nested Class Summary
 
Nested classes inherited from class railo.runtime.type.Collection
Collection.Key
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from interface railo.runtime.type.Scope
SCOPE_APPLICATION, SCOPE_ARGUMENTS, SCOPE_CALLER, SCOPE_CGI, SCOPE_CLIENT, SCOPE_CLUSTER, SCOPE_COOKIE, SCOPE_COUNT, SCOPE_FORM, SCOPE_LOCAL, SCOPE_REQUEST, SCOPE_SERVER, SCOPE_SESSION, SCOPE_UNDEFINED, SCOPE_URL, SCOPE_VARIABLES
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 long getLastAccess()
           
 long getTimeSpan()
           
 boolean isExpired()
           
 void touch()
          sets the last access timestamp to now
 
Methods inherited from interface railo.runtime.type.Scope
getType, getTypeAsString, initialize, isInitalized, release
 
Methods inherited from interface railo.runtime.type.Collection
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, keysAsString, remove, removeEL, set, set, setEL, setEL, size
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.type.Iteratorable
iterator, keyIterator
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getLastAccess

public long getLastAccess()
Returns:
returns the last acces to this session scope

getTimeSpan

public long getTimeSpan()
Returns:
returns the actuell timespan of the application

isExpired

public boolean isExpired()
Returns:
is expired

touch

public void touch()
sets the last access timestamp to now