C# Class Rest4Net.IronCache.IronCacheProvider

Inheritance: RestApiProvider
Afficher le fichier Open project: acropolium/Rest4Net

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
BuildWithPath ( string path, RequestType type = RequestType.Get ) : Command
Cmd ( string path, RequestType requestType = RequestType.Get ) : Command

Private Methods

Méthode Description
GetProviderHost ( Provider provider ) : string
JsonPreparer ( JToken input ) : JToken
RunInfo ( string path, RequestType type = RequestType.Post, string body = null ) : InfoImpl

Method Details

BuildWithPath() protected méthode

protected BuildWithPath ( string path, RequestType type = RequestType.Get ) : Command
path string
type RequestType
Résultat Command

Caches() public méthode

public Caches ( uint page ) : IEnumerable
page uint
Résultat IEnumerable

Cmd() protected méthode

protected Cmd ( string path, RequestType requestType = RequestType.Get ) : Command
path string
requestType RequestType
Résultat Command

Delete() public méthode

public Delete ( string cacheName, string key ) : bool
cacheName string
key string
Résultat bool

Get() public méthode

public Get ( string cacheName, string key ) : string
cacheName string
key string
Résultat string

Increment() public méthode

public Increment ( string cacheName, string key, int amount ) : int
cacheName string
key string
amount int
Résultat int

IronCacheProvider() public méthode

public IronCacheProvider ( string token, string projectId, Provider provider = Provider.AWS ) : System
token string
projectId string
provider Provider
Résultat System

Put() public méthode

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
Résultat bool

Put() public méthode

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
Résultat bool