public abstract class StorageScopeFile extends StorageScopeImpl
Collection.Key
Modifier and Type | Field and Description |
---|---|
static String |
STORAGE_TYPE |
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 |
getFolderName(String name,
String cfid,
boolean addExtension)
return a folder name that match given input
|
String |
getStorageType() |
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 String STORAGE_TYPE
public void touchBeforeRequest(PageContext pc)
SharedScope
touchBeforeRequest
in interface SharedScope
touchBeforeRequest
in class StorageScopeImpl
pc
- Page Contextpublic void touchAfterRequest(PageContext pc)
SharedScope
touchAfterRequest
in interface SharedScope
touchAfterRequest
in class StorageScopeImpl
public 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
public static String getFolderName(String name, String cfid, boolean addExtension)
name
- cfid
- addExtension
- public String getStorageType()
Copyright © 2015 Lucee