public abstract class StorageScopeCache extends StorageScopeImpl
Collection.Key
Modifier and Type | Field and Description |
---|---|
static long |
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 |
---|---|
static String |
getKey(String cfid,
String appName,
String type) |
String |
getStorageType() |
long |
lastModified() |
void |
store(Config config)
store content on persistent layer
|
void |
touchAfterRequest(PageContext pc)
release scope only for current request, scope will be used again
|
void |
touchBeforeRequest(PageContext pc)
Initalize Scope only for this request, scope was already used
|
void |
unstore(Config config)
remove stored data from persistent layer
|
_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
clone, containsKey, duplicate, get, get, set, setEL
getIterator
public static final long SAVE_EXPIRES_OFFSET
public long lastModified()
public void touchAfterRequest(PageContext pc)
SharedScope
touchAfterRequest
in interface SharedScope
touchAfterRequest
in class StorageScopeImpl
public String getStorageType()
public void touchBeforeRequest(PageContext pc)
SharedScope
touchBeforeRequest
in interface SharedScope
touchBeforeRequest
in class StorageScopeImpl
pc
- Page Contextpublic void store(Config config)
StorageScope
store
in interface StorageScope
store
in class StorageScopeImpl
public void unstore(Config config)
StorageScope
unstore
in interface StorageScope
unstore
in class StorageScopeImpl
Copyright © 2015 Lucee