Called by the eviction policy to remove an item from the cache
Namespace: BrightstarDB.CachingAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public long EvictEntry( string key ) |
Visual Basic |
---|
Public Function EvictEntry ( key As String ) As Long |
Visual C++ |
---|
public: long long EvictEntry( String^ key ) |
F# |
---|
member EvictEntry : key : string -> int64 |
Parameters
- key
- Type: System..::..String
The key of the item to remove from the cache
Return Value
Type: Int64The number of bytes removed from the cache by this eviction
Remarks
This method calls the protected RemoveEntry method and then updates the local cache size counter