C# Class System.Runtime.Caching.CacheExpires

Inheritance: CacheEntryCollection
显示文件 Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
EXPIRATIONS_INTERVAL TimeSpan
MIN_UPDATE_DELTA TimeSpan
helper CacheExpiresHelper

Public Methods

Method Description
Add ( System.Runtime.Caching.MemoryCacheEntry entry ) : void
CacheExpires ( System.Runtime.Caching.MemoryCacheStore store ) : System.Threading
EnableExpirationTimer ( bool enable ) : void
FlushExpiredItems ( bool blockInsert ) : int
Remove ( System.Runtime.Caching.MemoryCacheEntry entry ) : void
UtcUpdate ( System.Runtime.Caching.MemoryCacheEntry entry, DateTime utcAbsExp ) : void

Method Details

Add() public method

public Add ( System.Runtime.Caching.MemoryCacheEntry entry ) : void
entry System.Runtime.Caching.MemoryCacheEntry
return void

CacheExpires() public method

public CacheExpires ( System.Runtime.Caching.MemoryCacheStore store ) : System.Threading
store System.Runtime.Caching.MemoryCacheStore
return System.Threading

EnableExpirationTimer() public method

public EnableExpirationTimer ( bool enable ) : void
enable bool
return void

FlushExpiredItems() public method

public FlushExpiredItems ( bool blockInsert ) : int
blockInsert bool
return int

Remove() public method

public Remove ( System.Runtime.Caching.MemoryCacheEntry entry ) : void
entry System.Runtime.Caching.MemoryCacheEntry
return void

UtcUpdate() public method

public UtcUpdate ( System.Runtime.Caching.MemoryCacheEntry entry, DateTime utcAbsExp ) : void
entry System.Runtime.Caching.MemoryCacheEntry
utcAbsExp DateTime
return void

Property Details

EXPIRATIONS_INTERVAL public_oe static_oe property

public static TimeSpan EXPIRATIONS_INTERVAL
return TimeSpan

MIN_UPDATE_DELTA public_oe static_oe property

public static TimeSpan MIN_UPDATE_DELTA
return TimeSpan

helper public_oe static_oe property

public static CacheExpiresHelper,System.Runtime.Caching helper
return CacheExpiresHelper