public final class SessionCache extends StorageScopeCache implements Session
Collection.Key
SAVE_EXPIRES_OFFSET
CFID, CFTOKEN, HITCOUNT, LASTVISIT, SESSION_ID, TIMECREATED, URLTOKEN
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
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Modifier and Type | Method and Description |
---|---|
Collection |
duplicate(boolean deepCopy) |
static Session |
getInstance(String cacheName,
String appName,
PageContext pc,
Session existing,
Log log)
load an new instance of the client datasource scope
|
static Session |
getInstance(String cacheName,
String appName,
PageContext pc,
Session existing,
Log log,
Session defaultValue) |
static boolean |
hasInstance(String cacheName,
String appName,
PageContext pc) |
getKey, getStorageType, lastModified, store, touchAfterRequest, touchBeforeRequest, unstore
_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
call, callWithNamedValues, clone, containsKey, containsKey, entrySet, equals, get, get, get, get, get, getIterator, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, toString
getClass, hashCode, notify, notifyAll, wait, wait, wait
_getId, getCreated, getLastAccess, getTimeSpan, isExpired, pureKeys, touch
touchAfterRequest, touchBeforeRequest
getType, getTypeAsString, initialize, isInitalized, release, release
clear, clone, containsKey, containsKey, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
entryIterator, keyIterator, keysAsStringIterator, valueIterator
getIterator
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
call, callWithNamedValues, get, get, set, setEL
toDumpData
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
public Collection duplicate(boolean deepCopy)
duplicate
in interface Collection
public static Session getInstance(String cacheName, String appName, PageContext pc, Session existing, Log log) throws PageException
cacheName
- appName
- pc
- PageException
public static Session getInstance(String cacheName, String appName, PageContext pc, Session existing, Log log, Session defaultValue)
public static boolean hasInstance(String cacheName, String appName, PageContext pc)
Copyright © 2015 Lucee