RedisAdhocCache Class |
Namespace: SanteDB.Caching.Redis
The RedisAdhocCache type exposes the following members.
Name | Description | |
---|---|---|
RedisAdhocCache | Initializes a new instance of the RedisAdhocCache class |
Name | Description | |
---|---|---|
IsRunning |
Indicates whether the daemon service is running
| |
ServiceName |
Gets the service name
|
Name | Description | |
---|---|---|
AddT |
Add the specified object to the cache
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Exists |
Returns true if key exists in the cache
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetT |
Gets the specified object from the cache
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes the specified object from the adhoc
| |
Start |
Indicates the caller wishes to start the daemon service lifecycle
| |
Stop |
Indicates the caller wishes to stop the daemon service
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Started |
Fired when the daemon service has completed it start procedure.
| |
Starting |
Fired when the daemon service has commenced start but has not yet finished
| |
Stopped |
Fired when the daemon has completed its stop procedure
| |
Stopping |
Fired when the daemon service has commenced stop but has not yet been fully shut down.
|
Name | Description | |
---|---|---|
ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |
This implementation of the REDIS ad-hoc cache provider serializes any data passed via AddT(String, T, NullableTimeSpan) to a JSON representation, then compresses (optional) the data and stores it in REDIS as a simple string
The data is stored in database 3 of the REDIS server