Uiinfrastructure API Docs  
 

ASCache Members

ASCache overview

Public Static Fields

iconiconSPACEID_INVALID Used by the gateway in the interpreter, since it doesn't use cache IDs. This should not be used by Activity Space developers. This will trigger different Activity Space caching (see Interpreter.HandleCacheLimit for details)

Public Static Methods

iconiconGetASCache Gets the ASCache session manager off of the top-level session manager, creating it if necessary; made into a separate method so the SSO login code can call it. Creates the cache (if necessary) and puts a safe wrapper around it into the user's sandbox session. This should only be used by the Interpreter and SSO login code.
iconiconGetCacheList Gets the CacheList off of the top-level session manager. This should only be used by the Interpreter and SSO login code.

Public Instance Constructors

icon ASCache Constructor Constructor.

Public Instance Methods

iconClearCache This method clears the AActivitySpace cache. This should not be used and is only here for debugging purposes. Doing so will remove all cached spaces and cause them to be regenerated. All editors will fail when this happens.
iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetAttribute Returns the value corresponding to the key in argument. This method will reset the timestamp on the requested space.
iconGetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
iconGetKeys Returns an enumaration of the keys for the ASCache.
iconGetSpace This method returns the requested AActivitySpace from the cache. This method will reset the timestamp on the requested space.
iconGetSpaceIfCached This method returns the requested AActivitySpace from the cache, if it exists. This method will reset the timestamp on the requested space.
iconGetSpaceIsSubSpace Returns whether or not the space corresponding to the key in argument is a subspace. This method will not reset the timestamp on the requested space.
iconGetType (inherited from Object)Gets the Type of the current instance.
iconHandleCacheLimit This method handles cache management after the request has been sent to the user. This should only be called by the Interpreter.
iconRemoveSubSpace This method removes the specified sub-space. This will fail if the specified space is not a sub-space.
iconToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

iconFinalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
iconMemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ASCache Class | com.plumtree.uiinfrastructure.activityspace Namespace