OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
OpenSim.Framework.Cache Class Reference

Public Member Functions

 Cache ()
 
 Cache (CacheMedium medium)
 
 Cache (CacheMedium medium, CacheFlags flags)
 
 Cache (CacheMedium medium, CacheStrategy strategy)
 
 Cache (CacheStrategy strategy, CacheFlags flags)
 
 Cache (CacheFlags flags)
 
 Cache (CacheMedium medium, CacheStrategy strategy, CacheFlags flags)
 
virtual Object Get (string index)
 
virtual Object Get (string index, FetchDelegate fetch)
 
Object Find (Predicate< CacheItemBase > d)
 
virtual void Store (string index, Object data)
 
virtual void Store (string index, Object data, Type container)
 
virtual void Store (string index, Object data, Type container, Object[] parameters)
 
void Invalidate (string uuid)
 
void Clear ()
 

Public Attributes

ExpireDelegate OnExpire
 

Protected Member Functions

virtual CacheItemBase GetItem (string index)
 
virtual void Expire (bool getting)
 Expire items as appropriate. More...
 

Properties

int Count [get]
 
int Size [get, set]
 
TimeSpan DefaultTTL [get, set]
 

Detailed Description

Definition at line 200 of file Cache.cs.

Constructor & Destructor Documentation

OpenSim.Framework.Cache.Cache ( )
inline

Definition at line 239 of file Cache.cs.

OpenSim.Framework.Cache.Cache ( CacheMedium  medium)
inline

Definition at line 246 of file Cache.cs.

OpenSim.Framework.Cache.Cache ( CacheMedium  medium,
CacheFlags  flags 
)
inline

Definition at line 251 of file Cache.cs.

OpenSim.Framework.Cache.Cache ( CacheMedium  medium,
CacheStrategy  strategy 
)
inline

Definition at line 256 of file Cache.cs.

OpenSim.Framework.Cache.Cache ( CacheStrategy  strategy,
CacheFlags  flags 
)
inline

Definition at line 261 of file Cache.cs.

OpenSim.Framework.Cache.Cache ( CacheFlags  flags)
inline

Definition at line 266 of file Cache.cs.

OpenSim.Framework.Cache.Cache ( CacheMedium  medium,
CacheStrategy  strategy,
CacheFlags  flags 
)
inline

Definition at line 271 of file Cache.cs.

Member Function Documentation

void OpenSim.Framework.Cache.Clear ( )
inline

Definition at line 553 of file Cache.cs.

virtual void OpenSim.Framework.Cache.Expire ( bool  getting)
inlineprotectedvirtual

Expire items as appropriate.

Callers must lock m_Index.

Parameters
getting

Definition at line 474 of file Cache.cs.

Here is the call graph for this function:

Object OpenSim.Framework.Cache.Find ( Predicate< CacheItemBase d)
inline

Definition at line 393 of file Cache.cs.

virtual Object OpenSim.Framework.Cache.Get ( string  index)
inlinevirtual

Definition at line 349 of file Cache.cs.

virtual Object OpenSim.Framework.Cache.Get ( string  index,
FetchDelegate  fetch 
)
inlinevirtual

Definition at line 362 of file Cache.cs.

virtual CacheItemBase OpenSim.Framework.Cache.GetItem ( string  index)
inlineprotectedvirtual

Definition at line 322 of file Cache.cs.

void OpenSim.Framework.Cache.Invalidate ( string  uuid)
inline

Definition at line 540 of file Cache.cs.

virtual void OpenSim.Framework.Cache.Store ( string  index,
Object  data 
)
inlinevirtual

Definition at line 406 of file Cache.cs.

virtual void OpenSim.Framework.Cache.Store ( string  index,
Object  data,
Type  container 
)
inlinevirtual

Definition at line 424 of file Cache.cs.

virtual void OpenSim.Framework.Cache.Store ( string  index,
Object  data,
Type  container,
Object[]  parameters 
)
inlinevirtual

Definition at line 429 of file Cache.cs.

Member Data Documentation

ExpireDelegate OpenSim.Framework.Cache.OnExpire

Definition at line 218 of file Cache.cs.

Property Documentation

int OpenSim.Framework.Cache.Count
get

Definition at line 282 of file Cache.cs.

TimeSpan OpenSim.Framework.Cache.DefaultTTL
getset

Definition at line 315 of file Cache.cs.

int OpenSim.Framework.Cache.Size
getset

Definition at line 289 of file Cache.cs.


The documentation for this class was generated from the following file: