ztsdb
|
#include <interp_ctx.hpp>
Public Member Functions | |
ReqState (Global::reqid_t reqid_p, Global::reqid_t sourceid_p) | |
void | readData (const char *buf, size_t len) |
Public Attributes | |
IncomingReqState | state |
Global::reqid_t | reqid |
Global::reqid_t | sourceid |
std::unique_ptr< const E > | e |
size_t | codeLen |
vector< char > | codeBuf |
size_t | valstack_idx |
vector< ValState > | valstack |
std::chrono::system_clock::time_point | timestamp |
This structure represents the state of an incoming request. The incoming request comes as a buffer in which an AST is encoded (already in normalized form). It is decoded and stored in 'e'. 'valstack' is used to decode and store the list of decoded values that form the bound variables (this list might be empty).
std::chrono::system_clock::time_point zcore::ReqState::timestamp |
so we can free request states that take too long to complete