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;
Interface defining central location for the handlers associated to a database service.
Definition: jit_executor_component.h:72
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:111
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:40
std::chrono::seconds idle_time() const override
Definition: jit_executor_service_handlers.cc:134
void teardown() override
Definition: jit_executor_service_handlers.cc:120
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:59
uint64_t pool_size() const override
Definition: jit_executor_service_handlers.cc:140
void set_default_pool_size(uint64_t) override
Definition: jit_executor_service_handlers.cc:148
ServiceHandlerConfig m_config
Definition: jit_executor_service_handlers.h:67
bool init() override
Definition: jit_executor_service_handlers.cc:46
std::unique_ptr< std::thread > m_teardown_thread
Definition: jit_executor_service_handlers.h:73
std::shared_ptr< IContextHandle > get_context(const std::string &debug_port="") override
Definition: jit_executor_service_handlers.cc:152
void set_max_heap_size(uint64_t) override
Definition: jit_executor_service_handlers.cc:144
void do_tear_down()
Definition: jit_executor_service_handlers.cc:125
std::shared_ptr< ContextPool > m_context_pool
Definition: jit_executor_service_handlers.h:70
void release_debug_context() override
Definition: jit_executor_service_handlers.cc:173
Definition: jit_executor_callbacks.h:36
std::chrono::seconds seconds
Definition: authorize_manager.cc:69
Definition: jit_executor_component.h:60