C# Class Deveel.Data.Caching.MemoryCache

Inheritance: Cache
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
MemoryCache ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GetCacheValueUnlocked ( object key ) : CacheValue
RemoveObject ( object key ) : object
RemoveUnlocked ( object key ) : object
SetObject ( object key, object value ) : bool
SetValueUnlocked ( object key, object value ) : CacheValue
TryGetObject ( object key, object &value ) : bool
UpdateElementAccess ( object key, CacheValue cacheValue ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetCacheValueUnlocked() protected method

protected GetCacheValueUnlocked ( object key ) : CacheValue
key object
return CacheValue

MemoryCache() public method

public MemoryCache ( ) : System
return System

RemoveObject() protected method

protected RemoveObject ( object key ) : object
key object
return object

RemoveUnlocked() protected method

protected RemoveUnlocked ( object key ) : object
key object
return object

SetObject() protected method

protected SetObject ( object key, object value ) : bool
key object
value object
return bool

SetValueUnlocked() protected method

protected SetValueUnlocked ( object key, object value ) : CacheValue
key object
value object
return CacheValue

TryGetObject() protected method

protected TryGetObject ( object key, object &value ) : bool
key object
value object
return bool

UpdateElementAccess() protected method

protected UpdateElementAccess ( object key, CacheValue cacheValue ) : void
key object
cacheValue CacheValue
return void