railo.runtime.type.scope.storage
Class StorageScopeDatasource
java.lang.Object
railo.runtime.type.util.StructSupport
railo.runtime.type.scope.storage.StorageScopeImpl
railo.runtime.type.scope.storage.StorageScopeDatasource
- All Implemented Interfaces:
- Serializable, Cloneable, Map, Dumpable, Castable, Collection, Iteratorable, Scope, StorageScope, SharedScope, Sizeable, Struct
- Direct Known Subclasses:
- ClientDatasource, SessionDatasource
public abstract class StorageScopeDatasource
- extends StorageScopeImpl
client scope that store it's data in a datasource
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields inherited from interface railo.runtime.type.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_VARIABLES |
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, get, get, getLastAccess, getMaxInactiveInterval, getStorage, getTimeSpan, getType, getTypeAsString, hasChanges, hasContent, initialize, isExpired, isInitalized, keyIterator, keys, keysAsString, lastVisit, pureKeys, release, remove, removeEL, set, setEL, setMaxInactiveInterval, setStorage, size, sizeOf, toDumpData, touch, values |
Methods inherited from class railo.runtime.type.util.StructSupport |
clone, containsKey, containsKey, entrySet, equals, get, get, get, invalidKey, isEmpty, iterator, keySet, put, putAll, remove, set, setEL, toString, valueIterator |
EXPIRES
public static final Collection.Key EXPIRES
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
touchAfterRequest
public void touchAfterRequest(PageContext pc)
- Description copied from interface:
SharedScope
- release scope only for current request, scope will be used again
- Specified by:
touchAfterRequest
in interface SharedScope
- Overrides:
touchAfterRequest
in class StorageScopeImpl
- See Also:
StorageScopeImpl.touchAfterRequest(railo.runtime.PageContext)
store
public void store(Config config)
- Description copied from interface:
StorageScope
- store content on persistent layer
- Specified by:
store
in interface StorageScope
- Overrides:
store
in class StorageScopeImpl
- See Also:
StorageScope.store(railo.runtime.config.Config)
unstore
public void unstore(Config config)
- Description copied from interface:
StorageScope
- remove stored data from persistent layer
- Specified by:
unstore
in interface StorageScope
- Overrides:
unstore
in class StorageScopeImpl
- See Also:
StorageScope.unstore(railo.runtime.config.Config)
touchBeforeRequest
public void touchBeforeRequest(PageContext pc)
- Description copied from interface:
SharedScope
- Initalize Scope only for this request, scope was already used
- Specified by:
touchBeforeRequest
in interface SharedScope
- Overrides:
touchBeforeRequest
in class StorageScopeImpl
- Parameters:
pc
- Page Context- See Also:
railo.runtime.type.scope.ClientSupportOld#initialize(railo.runtime.PageContext)
getStorageType
public String getStorageType()
- See Also:
StorageScope.getStorageType()
getDatasourceName
public String getDatasourceName()
- Returns:
- the datasourceName
Copyright © 2012 Railo