Implemented in derived classes to add a new entry to the cache
Namespace: BrightstarDB.CachingAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
protected abstract AbstractCacheEntry AddEntry(
string key,
byte[] data,
CachePriority cachePriority
) |
Visual Basic |
---|
Protected MustOverride Function AddEntry (
key As String,
data As Byte(),
cachePriority As CachePriority
) As AbstractCacheEntry |
Visual C++ |
---|
protected:
virtual AbstractCacheEntry^ AddEntry(
String^ key,
array<unsigned char>^ data,
CachePriority cachePriority
) abstract |
F# |
---|
abstract AddEntry :
key : string *
data : byte[] *
cachePriority : CachePriority -> AbstractCacheEntry
|
Parameters
- key
- Type: System..::..String
The key for the new entry
- data
- Type: array<System..::..Byte>[]()[][]
The data for the new entry
- cachePriority
- Type: BrightstarDB.Caching..::..CachePriority
The entry priority
Return Value
Type:
AbstractCacheEntryThe newly created cache entry
See Also