railo.runtime.type.scope
Interface Session

All Superinterfaces:
Castable, Cloneable, Collection, Dumpable, ForEachIteratorable, Iteratorable, Map, Objects, Scope, Serializable, SharedScope, Sizeable, Struct, UserScope
All Known Implementing Classes:
JSession, SessionCache, SessionCookie, SessionDatasource, SessionFile, SessionMemory

public interface Session
extends Scope, UserScope


Nested Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface railo.runtime.type.scope.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_VAR, SCOPE_VARIABLES
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 int _getId()
           
 long getCreated()
           
 long getLastAccess()
          Deprecated.  
 long getTimeSpan()
          Deprecated.  
 boolean isExpired()
           
 Collection.Key[] pureKeys()
           
 void touch()
          sets the last access timestamp to now
 
Methods inherited from interface railo.runtime.type.scope.UserScope
resetEnv
 
Methods inherited from interface railo.runtime.type.scope.SharedScope
touchAfterRequest, touchBeforeRequest
 
Methods inherited from interface railo.runtime.type.scope.Scope
getType, getTypeAsString, initialize, isInitalized, release, release
 
Methods inherited from interface railo.runtime.type.Collection
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
 
Methods inherited from interface railo.runtime.type.Iteratorable
entryIterator, keyIterator, keysAsStringIterator, valueIterator
 
Methods inherited from interface railo.runtime.type.ForEachIteratorable
getIterator
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface railo.runtime.type.Sizeable
sizeOf
 
Methods inherited from interface railo.runtime.type.Objects
call, callWithNamedValues, get, get, set, setEL
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 

Method Detail

getLastAccess

long getLastAccess()
Deprecated. 

Returns:
returns the last acces to this session scope

getTimeSpan

long getTimeSpan()
Deprecated. 

Returns:
returns the actuell timespan of the session

getCreated

long getCreated()

isExpired

boolean isExpired()
Returns:
is the scope expired or not

touch

void touch()
sets the last access timestamp to now


_getId

int _getId()

pureKeys

Collection.Key[] pureKeys()
Returns:
all keys except the readpnly ones (cfid,cftoken,hitcount,lastvisit ...)


Copyright © 2012 Railo