Files
scylladb/api/cache_service.hh
Amnon Heiman 4258b005db API: Adding stub implementation for the cache service
This adds a stub implementation for the cache_service. It also register
the API doc.
The cache_service doc will be available at:
http://localhost:10000/api-doc/cache_service/

The stub implementation returns the correct value type with stubbed
values.

After this patch the following path will be available:
/cache_service/row_cache_save_period
/cache_service/key_cache_save_period
/cache_service/counter_cache_save_period
/cache_service/row_cache_keys_to_save
/cache_service/key_cache_keys_to_save
/cache_service/counter_cache_keys_to_save
/cache_service/invalidate_key_cache
/cache_service/invalidate_counter_cache
/cache_service/row_cache_capacity
/cache_service/key_cache_capacity
/cache_service/counter_cache_capacity
/cache_service/save_caches

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-06-24 14:30:08 +03:00

19 lines
235 B
C++

/*
* Copyright 2015 Cloudius Systems
*/
#ifndef API_CACHE_SERVICE_HH_
#define API_CACHE_SERVICE_HH_
#include "api.hh"
namespace api {
void set_cache_service(http_context& ctx, routes& r);
}
#endif /* API_CACHE_SERVICE_HH_ */