Memory caching and retrieval utility.
Syntax
Response = Memory_Services(Service, Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, Param9, Param10)
Returns
The meaning of the response value depends on the service.
Parameters
Parameter | Description |
---|---|
Service | The name of the service being requested. Required. |
Param1 - Param10 | Generic parameters. |
Remarks
This SRP FrameWorks utility service is designed to store small and large amounts of data in memory for quick retrieval. A very common use of Memory_Services
is to store the results of other services. Thus, the beginning of each service would first check to see if a value already exists before going through the expense of running the entire service logic again. If the data being stored in Memory_Services
needs to be refreshed after a short amount of time, the GetValue service can specify when this should expire.
Services
Service | Description |
---|---|
KeyExists | Usage: Comments: Returns: |
GetValue | Usage: Comments: Returns: |
SetValue | Usage: Comments: Returns: |
RemoveKey | Usage: Comments: Returns: |
CreateHashTable | Usage: Comments: Returns: |
ReleaseHashTable | Usage: Comments: Returns: |
GetHandle | Usage: Comments: Returns: |
Param1 - Param10
The proper use of the generic arguments are defined in the definition of each service above.