Class ConcurrentDictionaryAdapter
Inheritance
System.Object
ConcurrentDictionaryAdapter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Store
Assembly: Terrasoft.Core.dll
Syntax
public class ConcurrentDictionaryAdapter : IBucketedCacheStore, ICacheStore, IBucketedDataStore, IBucketedStore, IDataStore, IBaseStore
Properties
IsLocalCache
Gets the value that indicates whether the data is stored in local memory.
Declaration
public virtual bool IsLocalCache { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[String]
Declaration
public object this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Property Value
Type | Description |
---|---|
System.Object |
Keys
Gets a collection containing the keys.
Declaration
public IEnumerable<string> Keys { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Methods
Clear()
Removes all keys and values from the current dictionary.
Declaration
public void Clear()
GetValues(IEnumerable<String>)
Declaration
public IDictionary<string, object> GetValues(IEnumerable<string> keys)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | keys |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Initialize(IDictionary<String, String>)
Method does nothing.
Declaration
public void Initialize(IDictionary<string, string> parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | parameters |
Remove(String)
Declaration
public void Remove(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |