railo.runtime.type.scope.session
Class SessionCache

java.lang.Object
  extended by railo.runtime.type.util.StructSupport
      extended by railo.runtime.type.scope.storage.StorageScopeImpl
          extended by railo.runtime.type.scope.storage.StorageScopeCache
              extended by railo.runtime.type.scope.session.SessionCache
All Implemented Interfaces:
Serializable, Cloneable, Map, Dumpable, Castable, Collection, ForEachIteratorable, Iteratorable, Objects, Scope, Session, SharedScope, StorageScope, UserScope, Sizeable, Struct

public final class SessionCache
extends StorageScopeCache
implements Session

See Also:
Serialized Form

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 class railo.runtime.type.scope.storage.StorageScopeCache
SAVE_EXPIRES_OFFSET
 
Fields inherited from class railo.runtime.type.scope.storage.StorageScopeImpl
CFID, CFTOKEN, HITCOUNT, LASTVISIT, SESSION_ID, TIMECREATED, URLTOKEN
 
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
 Collection duplicate(boolean deepCopy)
           
static Session getInstance(String cacheName, String appName, PageContext pc, Log log)
          load an new instance of the client datasource scope
static Session getInstance(String cacheName, String appName, PageContext pc, Log log, Session defaultValue)
           
static boolean hasInstance(String cacheName, String appName, PageContext pc)
           
 
Methods inherited from class railo.runtime.type.scope.storage.StorageScopeCache
getKey, getStorageType, store, touchAfterRequest, touchBeforeRequest, unstore
 
Methods inherited from class railo.runtime.type.scope.storage.StorageScopeImpl
_getId, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, compareTo, compareTo, compareTo, compareTo, containsKey, containsValue, decode, encode, entryIterator, generateToken, get, get, getCreated, getLastAccess, getMaxInactiveInterval, getStorage, getTimeSpan, getType, getTypeAsString, hasChanges, hasContent, initialize, isExpired, isInitalized, keyIterator, keys, keysAsStringIterator, lastVisit, pureKeys, release, release, remove, removeEL, resetEnv, set, setEL, setMaxInactiveInterval, setStorage, size, sizeOf, toDumpData, touch, valueIterator, values, verifyToken
 
Methods inherited from class railo.runtime.type.util.StructSupport
call, callWithNamedValues, clone, containsKey, containsKey, entrySet, equals, get, get, get, get, get, getIterator, hashCode, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.runtime.type.scope.Session
_getId, getCreated, getLastAccess, getTimeSpan, isExpired, pureKeys, touch
 
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, 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

duplicate

public Collection duplicate(boolean deepCopy)
Specified by:
duplicate in interface Collection

getInstance

public static Session getInstance(String cacheName,
                                  String appName,
                                  PageContext pc,
                                  Log log)
                           throws PageException
load an new instance of the client datasource scope

Parameters:
cacheName -
appName -
pc -
Returns:
client datasource scope
Throws:
PageException

hasInstance

public static boolean hasInstance(String cacheName,
                                  String appName,
                                  PageContext pc)

getInstance

public static Session getInstance(String cacheName,
                                  String appName,
                                  PageContext pc,
                                  Log log,
                                  Session defaultValue)


Copyright © 2012 Railo