Mindscape LightSpeed - User Reference & API Documentation
CacheBroker Class
API ReferenceMindscape.LightSpeed.CachingCacheBroker
Brokers access to the second-level ICache implementation.
Declaration Syntax
C#Visual Basic
public sealed class CacheBroker
Public NotInheritable Class CacheBroker
Members
All MembersMethodsFields



IconMemberDescription
Add(Entity)
Adds an entity to the cache, only if it does not already exist.

Add(Entity, TimeSpan)
Add an entity to the cache, only if it does not already exist.

Contains(Type, Object)
Determines whether an item with the supplied is in the cache.

DefaultExpiry
The default expiry of a cached item.

Get<(Of <(TEntity>)>)(Object)
Gets the specified entity from the cache.

Get(Type, Object)
Gets the specified entity from the cache.

Remove(Entity)
Removes the specified entity from the cache.

Remove(Type, Object)
Removes the specified entity from the cache.

Set(Entity)
Sets an entity into the cache overwriting any existing entity with the same key.

Set(Entity, TimeSpan)
Sets an entity into the cache overwriting any existing entity with the same key.

Update(Entity)
Updates the specified entity in the cache.

Inheritance Hierarchy
Object
CacheBroker

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)