C# 클래스 Rest4Net.IronCache.IronCacheProvider

상속: RestApiProvider
파일 보기 프로젝트 열기: acropolium/Rest4Net

공개 메소드들

메소드 설명
Caches ( uint page ) : IEnumerable
Delete ( string cacheName, string key ) : bool
Get ( string cacheName, string key ) : string
Increment ( string cacheName, string key, int amount ) : int
IronCacheProvider ( string token, string projectId, Provider provider = Provider.AWS ) : System
Put ( string cacheName, string key, int value, int expiresIn = 604800, bool replace = false, bool add = false ) : bool
Put ( string cacheName, string key, string value, int expiresIn = 604800, bool replace = false, bool add = false ) : bool

보호된 메소드들

메소드 설명
BuildWithPath ( string path, RequestType type = RequestType.Get ) : Command
Cmd ( string path, RequestType requestType = RequestType.Get ) : Command

비공개 메소드들

메소드 설명
GetProviderHost ( Provider provider ) : string
JsonPreparer ( JToken input ) : JToken
RunInfo ( string path, RequestType type = RequestType.Post, string body = null ) : InfoImpl

메소드 상세

BuildWithPath() 보호된 메소드

protected BuildWithPath ( string path, RequestType type = RequestType.Get ) : Command
path string
type RequestType
리턴 Command

Caches() 공개 메소드

public Caches ( uint page ) : IEnumerable
page uint
리턴 IEnumerable

Cmd() 보호된 메소드

protected Cmd ( string path, RequestType requestType = RequestType.Get ) : Command
path string
requestType RequestType
리턴 Command

Delete() 공개 메소드

public Delete ( string cacheName, string key ) : bool
cacheName string
key string
리턴 bool

Get() 공개 메소드

public Get ( string cacheName, string key ) : string
cacheName string
key string
리턴 string

Increment() 공개 메소드

public Increment ( string cacheName, string key, int amount ) : int
cacheName string
key string
amount int
리턴 int

IronCacheProvider() 공개 메소드

public IronCacheProvider ( string token, string projectId, Provider provider = Provider.AWS ) : System
token string
projectId string
provider Provider
리턴 System

Put() 공개 메소드

public Put ( string cacheName, string key, int value, int expiresIn = 604800, bool replace = false, bool add = false ) : bool
cacheName string
key string
value int
expiresIn int
replace bool
add bool
리턴 bool

Put() 공개 메소드

public Put ( string cacheName, string key, string value, int expiresIn = 604800, bool replace = false, bool add = false ) : bool
cacheName string
key string
value string
expiresIn int
replace bool
add bool
리턴 bool