Uiinfrastructure API Docs  
 

ASCache Methods

The methods of the ASCache class are listed below. For a complete list of ASCache class members, see the ASCache Members topic.

Public Static Methods

GetASCache 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.
GetCacheList Gets the CacheList off of the top-level session manager. This should only be used by the Interpreter and SSO login code.

Public Instance Methods

ClearCache 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.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAttribute Returns the value corresponding to the key in argument. This method will reset the timestamp on the requested space.
GetHashCode (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.
GetKeys Returns an enumaration of the keys for the ASCache.
GetSpace This method returns the requested AActivitySpace from the cache. This method will reset the timestamp on the requested space.
GetSpaceIfCached This method returns the requested AActivitySpace from the cache, if it exists. This method will reset the timestamp on the requested space.
GetSpaceIsSubSpace 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.
GetType (inherited from Object)Gets the Type of the current instance.
HandleCacheLimit This method handles cache management after the request has been sent to the user. This should only be called by the Interpreter.
RemoveSubSpace This method removes the specified sub-space. This will fail if the specified space is not a sub-space.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

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

See Also

ASCache Class | com.plumtree.uiinfrastructure.activityspace Namespace