Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.
The IndexusSharedCacheProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| IndexusSharedCacheProvider |
Initializes a new instance of the IndexusSharedCacheProvider class.
|
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| Clear |
Force each configured cache server node to clear the cache.
(Overrides IndexusProviderBase..::.Clear()()().) | |
| DataContractAdd | Overloaded. | |
| DataContractGet | Overloaded. | |
| DataContractMultiAdd |
Adding a bunch of data to the cache, prevents to make several calls
from the client to the server. All data is tranported with
a IDictionary with a String and Byte
array combination.
(Overrides IndexusProviderBase..::.DataContractMultiAdd(IDictionary<(Of <(String, array<Byte>[]()[]>)>)).) | |
| DataContractMultiGet |
Based on a list of key's the client receives a dictonary with
all available data depending on the keys.
(Overrides IndexusProviderBase..::.DataContractMultiGet(List<(Of <(String>)>)).) | |
| DataContractRegexGet |
Returns items from cache node based on provided pattern.
(Overrides IndexusProviderBase..::.DataContractRegexGet(String).) | |
| Equals | (Inherited from Object.) | |
| ExtendTtl |
This Method extends item time to live.
(Overrides IndexusProviderBase..::.ExtendTtl(String, DateTime).) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Get | Overloaded. | |
| GetAbsoluteTimeExpiration | (Overrides IndexusProviderBase..::.GetAbsoluteTimeExpiration(List<(Of <(String>)>)).) | |
| GetAllKeys | Overloaded. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetServerForKey |
Return the ip server which handles this key by the hashcode of the key.
(Overrides IndexusProviderBase..::.GetServerForKey(String).) | |
| GetStats | Overloaded. | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Initialize |
Initializes the provider.
(Inherited from ProviderBase.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MultiAdd |
Adding a bunch of data to the cache, prevents to make several calls
from the client to the server. All data is tranported with
a [!:Dictonary] with a String and Byte
array combination.
(Overrides IndexusProviderBase..::.MultiAdd(IDictionary<(Of <(String, array<Byte>[]()[]>)>)).) | |
| MultiDelete |
Delete a bunch of data from the cache. This prevents several calls from
the client to the server. Only one single call is done with all relevant
key's for the server node.
(Overrides IndexusProviderBase..::.MultiDelete(List<(Of <(String>)>)).) | |
| MultiGet |
Based on a list of key's the client receives a dictonary with
all available data depending on the keys.
(Overrides IndexusProviderBase..::.MultiGet(List<(Of <(String>)>)).) | |
| Ping |
Pings the specified host.
(Overrides IndexusProviderBase..::.Ping(String).) | |
| RegexGet |
Returns items from cache node based on provided pattern.
(Overrides IndexusProviderBase..::.RegexGet(String).) | |
| RegexRemove |
Remove Cache Items on server node based on regular expression. Each item which matches
will be automatically removed from each server.
(Overrides IndexusProviderBase..::.RegexRemove(String).) | |
| Remove |
Remove cache item with provided key.
(Overrides IndexusProviderBase..::.Remove(String).) | |
| ServerNodeVersionClr |
Return Servers CLR (Common Language Runtime), this is needed to decide which
Hashing codes can be used.
(Overrides IndexusProviderBase..::.ServerNodeVersionClr()()().) | |
| ServerNodeVersionSharedCache |
Returns current build version of Shared Cache
(Overrides IndexusProviderBase..::.ServerNodeVersionSharedCache()()().) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Count |
Retrieve amount of configured server nodes.
(Overrides IndexusProviderBase..::.Count.) | |
| Description |
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.) | |
| Hashing |
Gets the Hashing
| |
| Name |
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.) | |
| ReplicatedServers |
Retrieve replication server nodes configuration as an array of String. This
is provides the Key and IPAddress of each item in the configuration section.
(Overrides IndexusProviderBase..::.ReplicatedServers.) | |
| ReplicatedServersList |
Retrieve replication server nodes configuration as a [!:List]. This
is provides the Key and IPAddress of each item in the configuration section.
(Overrides IndexusProviderBase..::.ReplicatedServersList.) | |
| Servers |
Retrieve configured server nodes as an array of String
(Overrides IndexusProviderBase..::.Servers.) | |
| ServersList |
Retrieve configured server nodes configuration as a [!:List]. This
is provides the Key and IPAddress of each item in the configuration section.
(Overrides IndexusProviderBase..::.ServersList.) |