Skip to content

API Library MemCacheD

Robert Polak edited this page Aug 6, 2019 · 24 revisions

Home / API Library / MemCacheD

API Library MemCacheD handling Memory Cache based on the Enyim client. The API Library MemCacheD Methods list with Parameters, Return examples.

Configuration

Configuration - Details

Configuration of MemCacheD variables at App.config.

More details about The Server API Library Configuration at Configuration


Store_ADO

Store_ADO is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls (ADO).

Method: API.MemCacheD.Store_ADO

Parameters:

Name Type Default Description
nameSpace String Name Space
procedureName String Procedure Name
inputParams Array [ADO_inputParams] Input Params Object
data dynamic data
expiresAt DateTime new DateTime(0) Expires At Date Time
validFor TimeSpan new TimeSpan(0) Valid For Time Period
repository String null Repository

ADO_inputParams - Parameter

Name Type Default Description
name string name
value dynamic value
typeName string typeName

Return: Bool


Store_BSO

Store_BSO is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of dervice calls (BSO).

Method: API.MemCacheD.Store_BSO

Parameters:

Name Type Default Description
nameSpace String Name Space
className String Class Name
methodName String Method Name
inputDTO dynamic inputDTO
data T data
expiresAt DateTime new DateTime(0) Expires At Date Time
validFor TimeSpan new TimeSpan(0) Valid For Time Period
repository String null Repository

Return: Bool


CasRepositoryFlush

Remove all the cached records stored into a Cas Repository.

Method: API.MemCacheD.CasRepositoryFlush

Parameters:

Name Type Default Description
repository String repository

Return: void


Get_ADO

Get_ADO get in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls (ADO).

Method: API.MemCacheD.Get_ADO

Parameters:

Name Type Default Description
nameSpace String Name Space
procedureName String Procedure Name
inputParams Array [ADO_inputParams] Input Params Object

ADO_inputParams - Parameter

Name Type Default Description
name string name
value dynamic value
typeName string typeName

Return: MemCachedD_Value Object.

MemCachedD_Value:

Name Type Default Description
datetime DateTime new DateTime.Now Date Time Now
expiresAt DateTime new DateTime(0) Expires At Date Time
validFor TimeSpan new TimeSpan(0) Valid For Time Period
hasData Bool false Has Data Indicator
data dynamic null Data

Get_BSO

Get_BSO get in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of service calls (BSO).

Method: API.MemCacheD.Get_BSO

Parameters:

Name Type Default Description
nameSpace String Name Space
procedureName String Procedure Name
inputParams Array [ADO_inputParams] Input Params Object

ADO_inputParams - Parameter

Name Type Default Description
name string name
value dynamic value
typeName string typeName

Return: MemCachedD_Value Object.

MemCachedD_Value:

Name Type Default Description
datetime DateTime new DateTime.Now Date Time Now
expiresAt DateTime new DateTime(0) Expires At Date Time
validFor TimeSpan new TimeSpan(0) Valid For Time Period
hasData Bool false Has Data Indicator
data dynamic null Data

Remove_ADO

Remove_ADO remove in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls (ADO).

Method: API.MemCacheD.Remove_ADO

Parameters:

Name Type Default Description
nameSpace String Name Space
procedureName String Procedure Name
inputParams Array [ADO_inputParams] Input Params Object

ADO_inputParams - Parameter

Name Type Default Description
name string name
value dynamic value
typeName string typeName

Return: Bool


Remove_BSO

Remove_BSO remove in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of service calls (BSO).

Method: API.MemCacheD.Remove_BSO

Parameters:

Name Type Default Description
nameSpace String Name Space
className String Class Name
methodName String Nethod Name
inputDTO T input DTO Object

Return: Bool


FlushAll

FlushAll remove all in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of Data base and service calls (ADO, BSO).

Method: API.MemCacheD.FlushAll

Parameters: N/A

Return: void

Clone this wiki locally