Page History
...
Code Block |
---|
Response = Memory_Services(Service, Param1, Param2, Param3, Param4, Param5, Param6, Param7, Param8, Param9, Param10@Service, @Params) |
Returns
The meaning of the response value depends on the service.
Parameters
Parameter | Description |
---|---|
Service@Service | The name of the service being requested. Required. |
Param1 - Param10@Params | Generic parameters. Refer to a specific service to determine the actual parameters used. |
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 use this to store the values results of other services as they are called and their logic produces a result. The . Thus, the beginning of each service can then would first check to see if a value already exists for this service 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.
...
Service | Description | |
---|---|---|
KeyExists | Usage: Comments: Returns: | |
GetValue | Usage: Comments: Returns: | |
SetValue | Usage: Comments: Returns: | |
IsValueExpired | Usage: Comments: Returns: | |
IsValueCurrent | Usage: Comments: Returns: | |
RemoveKey | Usage: Comments: Returns: | |
CreateHashTable | Usage: Comments: Returns: | |
ReleaseHashTable | Usage: Comments: Returns: | |
RemoveAllHashTables | Usage: Comments: | handlehandles. Returns: |
GetHandle | Usage: Comments: Returns: |
...
See comments. |
Params
The proper use of the generic arguments are defined in the definition of each service above.
...