C# Класс Rest4Net.IronCache.IronCacheProvider

Наследование: RestApiProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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