Tracks cache inserts

Namespace: BrightstarDB.Caching
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public void NotifyInsert(
	string insertedKey,
	long size,
	CachePriority priority
)
Visual Basic
Public Sub NotifyInsert ( 
	insertedKey As String,
	size As Long,
	priority As CachePriority
)
Visual C++
public:
virtual void NotifyInsert(
	String^ insertedKey, 
	long long size, 
	CachePriority priority
) sealed
F#
abstract NotifyInsert : 
        insertedKey : string * 
        size : int64 * 
        priority : CachePriority -> unit 
override NotifyInsert : 
        insertedKey : string * 
        size : int64 * 
        priority : CachePriority -> unit 

Parameters

insertedKey
Type: System..::..String
The inserted key
size
Type: System..::..Int64
The size (in bytes) of the inserted value
priority
Type: BrightstarDB.Caching..::..CachePriority
The priority assigned to the inserted cache item

Implements

ICacheEvictionPolicy..::..NotifyInsert(String, Int64, CachePriority)

See Also