OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
OpenSim.Framework.CacheItemBase Class Reference
Inheritance diagram for OpenSim.Framework.CacheItemBase:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.CacheItemBase:
Collaboration graph
[legend]

Public Member Functions

virtual Object Retrieve ()
 
virtual void Store (Object data)
 
 CacheItemBase (string index)
 
 CacheItemBase (string index, DateTime ttl)
 
virtual bool Equals (CacheItemBase item)
 
virtual int CompareTo (CacheItemBase item)
 
virtual bool IsLocked ()
 

Public Attributes

string uuid
 
DateTime entered
 
DateTime lastUsed
 
DateTime expires = new DateTime(0)
 
int hits = 0
 

Detailed Description

Definition at line 72 of file Cache.cs.

Constructor & Destructor Documentation

OpenSim.Framework.CacheItemBase.CacheItemBase ( string  index)
inline

Definition at line 89 of file Cache.cs.

OpenSim.Framework.CacheItemBase.CacheItemBase ( string  index,
DateTime  ttl 
)
inline

Definition at line 96 of file Cache.cs.

Member Function Documentation

virtual int OpenSim.Framework.CacheItemBase.CompareTo ( CacheItemBase  item)
inlinevirtual

Definition at line 109 of file Cache.cs.

virtual bool OpenSim.Framework.CacheItemBase.Equals ( CacheItemBase  item)
inlinevirtual

Definition at line 104 of file Cache.cs.

virtual bool OpenSim.Framework.CacheItemBase.IsLocked ( )
inlinevirtual

Definition at line 114 of file Cache.cs.

virtual Object OpenSim.Framework.CacheItemBase.Retrieve ( )
inlinevirtual

Reimplemented in OpenSim.Framework.FileCacheItem, and OpenSim.Framework.MemoryCacheItem.

Definition at line 80 of file Cache.cs.

Here is the caller graph for this function:

virtual void OpenSim.Framework.CacheItemBase.Store ( Object  data)
inlinevirtual

Reimplemented in OpenSim.Framework.FileCacheItem, and OpenSim.Framework.MemoryCacheItem.

Definition at line 85 of file Cache.cs.

Member Data Documentation

DateTime OpenSim.Framework.CacheItemBase.entered

Definition at line 75 of file Cache.cs.

DateTime OpenSim.Framework.CacheItemBase.expires = new DateTime(0)

Definition at line 77 of file Cache.cs.

int OpenSim.Framework.CacheItemBase.hits = 0

Definition at line 78 of file Cache.cs.

DateTime OpenSim.Framework.CacheItemBase.lastUsed

Definition at line 76 of file Cache.cs.

string OpenSim.Framework.CacheItemBase.uuid

Definition at line 74 of file Cache.cs.


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