|
Uranium
Application Framework
|
Public Member Functions | |
| clearInstanceCache (cls, instance) | |
| deleteInstanceCache (cls, instance) | |
| callMemberFunction (cls, instance, function, *args, **kwargs) | |
Protected Member Functions | |
| _getInstanceLock (cls, instance) | |
Helper class to handle instance-cache w.r.t. results of member-functions decorated with '@cache_per_instance'.
| UM.Decorators.CachedMemberFunctions.callMemberFunction | ( | cls, | |
| instance, | |||
| function, | |||
| * | args, | ||
| ** | kwargs ) |
Call the specified member function, make use of (results) cache if available, and create if not.
| UM.Decorators.CachedMemberFunctions.clearInstanceCache | ( | cls, | |
| instance ) |
Clear all the cache-entries for the specified instance.
| UM.Decorators.CachedMemberFunctions.deleteInstanceCache | ( | cls, | |
| instance ) |
Completely delete the entry of the specified instance.