API documentation  2.0rc1
Public Member Functions | List of all members
client::Cache Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

Promiseadd (Request *request)
 
Promiseadd (const String &request)
 
PromiseaddAll (Array *requests)
 
Promise_delete (Request *request)
 
Promise_delete (Request *request, CacheQueryOptions *options)
 
Promise_delete (const String &request)
 
Promise_delete (const String &request, CacheQueryOptions *options)
 
Promisekeys ()
 
Promisekeys (Request *request)
 
Promisekeys (Request *request, CacheQueryOptions *options)
 
Promisekeys (const String &request)
 
Promisekeys (const String &request, CacheQueryOptions *options)
 
Promisematch (Request *request)
 
Promisematch (Request *request, CacheQueryOptions *options)
 
Promisematch (const String &request)
 
Promisematch (const String &request, CacheQueryOptions *options)
 
PromisematchAll ()
 
PromisematchAll (Request *request)
 
PromisematchAll (Request *request, CacheQueryOptions *options)
 
PromisematchAll (const String &request)
 
PromisematchAll (const String &request, CacheQueryOptions *options)
 
Promiseput (Request *request, Response *response)
 
Promiseput (const String &request, Response *response)
 
Cacheget_prototype ()
 
void set_prototype (Cache *)
 
 Cache ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ Cache()

client::Cache::Cache ( )

Member Function Documentation

◆ _delete() [1/4]

Promise* client::Cache::_delete ( Request request)

◆ _delete() [2/4]

Promise* client::Cache::_delete ( Request request,
CacheQueryOptions options 
)

◆ _delete() [3/4]

Promise* client::Cache::_delete ( const String request)

◆ _delete() [4/4]

Promise* client::Cache::_delete ( const String request,
CacheQueryOptions options 
)

◆ add() [1/2]

Promise* client::Cache::add ( Request request)

◆ add() [2/2]

Promise* client::Cache::add ( const String request)

◆ addAll()

Promise* client::Cache::addAll ( Array requests)

◆ get_prototype()

Cache* client::Cache::get_prototype ( )

◆ keys() [1/5]

Promise* client::Cache::keys ( )

◆ keys() [2/5]

Promise* client::Cache::keys ( Request request)

◆ keys() [3/5]

Promise* client::Cache::keys ( Request request,
CacheQueryOptions options 
)

◆ keys() [4/5]

Promise* client::Cache::keys ( const String request)

◆ keys() [5/5]

Promise* client::Cache::keys ( const String request,
CacheQueryOptions options 
)

◆ match() [1/4]

Promise* client::Cache::match ( Request request)

◆ match() [2/4]

Promise* client::Cache::match ( Request request,
CacheQueryOptions options 
)

◆ match() [3/4]

Promise* client::Cache::match ( const String request)

◆ match() [4/4]

Promise* client::Cache::match ( const String request,
CacheQueryOptions options 
)

◆ matchAll() [1/5]

Promise* client::Cache::matchAll ( )

◆ matchAll() [2/5]

Promise* client::Cache::matchAll ( Request request)

◆ matchAll() [3/5]

Promise* client::Cache::matchAll ( Request request,
CacheQueryOptions options 
)

◆ matchAll() [4/5]

Promise* client::Cache::matchAll ( const String request)

◆ matchAll() [5/5]

Promise* client::Cache::matchAll ( const String request,
CacheQueryOptions options 
)

◆ put() [1/2]

Promise* client::Cache::put ( Request request,
Response response 
)

◆ put() [2/2]

Promise* client::Cache::put ( const String request,
Response response 
)

◆ set_prototype()

void client::Cache::set_prototype ( Cache )