26#ifndef ROUTER_SRC_JIT_EXECUTOR_SRC_JIT_EXECUTOR_SERVICE_HANDLERS_H_
27#define ROUTER_SRC_JIT_EXECUTOR_SRC_JIT_EXECUTOR_SERVICE_HANDLERS_H_
51 const std::string &debug_port =
"")
override;
57 std::string
error()
override;
Interface defining central location for the handlers associated to a database service.
Definition: jit_executor_component.h:70
Contains the handlers to be used to attend JavaScript processing requests for a specific service.
Definition: jit_executor_service_handlers.h:44
~ServiceHandlers() override
Definition: jit_executor_service_handlers.cc:129
std::chrono::time_point< std::chrono::system_clock > m_last_used_time
Definition: jit_executor_service_handlers.h:71
ServiceHandlers(const ServiceHandlerConfig &config)
Definition: jit_executor_service_handlers.cc:42
std::chrono::seconds idle_time() const override
Definition: jit_executor_service_handlers.cc:154
void teardown() override
Definition: jit_executor_service_handlers.cc:138
std::shared_ptr< IContextHandle > m_debug_context
Definition: jit_executor_service_handlers.h:69
std::unique_ptr< CommonContext > m_common_context
Definition: jit_executor_service_handlers.h:68
void init_common_context()
Definition: jit_executor_service_handlers.cc:64
uint64_t memory_units() const override
Definition: jit_executor_service_handlers.cc:160
ServiceHandlerConfig m_config
Definition: jit_executor_service_handlers.h:67
bool init() override
Definition: jit_executor_service_handlers.cc:48
std::unique_ptr< std::thread > m_teardown_thread
Definition: jit_executor_service_handlers.h:74
std::shared_ptr< IContextHandle > get_context(const std::string &debug_port="") override
Definition: jit_executor_service_handlers.cc:168
void set_max_heap_size(uint64_t) override
Definition: jit_executor_service_handlers.cc:164
void do_tear_down()
Definition: jit_executor_service_handlers.cc:145
std::string error() override
Definition: jit_executor_service_handlers.cc:143
std::shared_ptr< ContextPool > m_context_pool
Definition: jit_executor_service_handlers.h:70
std::string m_error
Definition: jit_executor_service_handlers.h:72
void release_debug_context() override
Definition: jit_executor_service_handlers.cc:189
Definition: jit_executor_callbacks.h:36
std::chrono::seconds seconds
Definition: authorize_manager.cc:68
Definition: jit_executor_component.h:59