C# 클래스 Senparc.Weixin.Cache.LocalObjectCacheStrategy

本地容器缓存策略
상속: BaseCacheStrategy, IObjectCacheStrategy
파일 보기 프로젝트 열기: JeffreySu/WeiXinMPSDK

공개 메소드들

메소드 설명
BeginCacheLock ( string resourceName, string key, int retryCount, System.TimeSpan retryDelay = newTimeSpan() ) : ICacheLock
CheckExisted ( string key, bool isFullKey = false ) : bool
Get ( string key, bool isFullKey = false ) : object
GetAll ( ) : object>.IDictionary
GetCount ( ) : long
InsertToCache ( string key, object value ) : void
RemoveFromCache ( string key, bool isFullKey = false ) : void
Update ( string key, object value, bool isFullKey = false ) : void
UpdateContainerBag ( string key, object bag, bool isFullKey = false ) : void

메소드 상세

BeginCacheLock() 공개 메소드

public BeginCacheLock ( string resourceName, string key, int retryCount, System.TimeSpan retryDelay = newTimeSpan() ) : ICacheLock
resourceName string
key string
retryCount int
retryDelay System.TimeSpan
리턴 ICacheLock

CheckExisted() 공개 메소드

public CheckExisted ( string key, bool isFullKey = false ) : bool
key string
isFullKey bool
리턴 bool

Get() 공개 메소드

public Get ( string key, bool isFullKey = false ) : object
key string
isFullKey bool
리턴 object

GetAll() 공개 메소드

public GetAll ( ) : object>.IDictionary
리턴 object>.IDictionary

GetCount() 공개 메소드

public GetCount ( ) : long
리턴 long

InsertToCache() 공개 메소드

public InsertToCache ( string key, object value ) : void
key string
value object
리턴 void

RemoveFromCache() 공개 메소드

public RemoveFromCache ( string key, bool isFullKey = false ) : void
key string
isFullKey bool
리턴 void

Update() 공개 메소드

public Update ( string key, object value, bool isFullKey = false ) : void
key string
value object
isFullKey bool
리턴 void

UpdateContainerBag() 공개 메소드

public UpdateContainerBag ( string key, object bag, bool isFullKey = false ) : void
key string
bag object
isFullKey bool
리턴 void