![]() |
MySQL
8.0.23
Source Code Documentation
|
The structure representing a connection into memcached. More...
#include <memcached.h>
Public Attributes | |
SOCKET | sfd |
int | nevents |
sasl_conn_t * | sasl_conn |
STATE_FUNC | state |
enum bin_substates | substate |
struct event | event |
short | ev_flags |
short | which |
char * | rbuf |
which events were just triggered More... | |
char * | rcurr |
buffer to read commands into More... | |
uint32_t | rsize |
but if we parsed some already, this is where we stopped More... | |
uint32_t | rbytes |
total allocated size of rbuf More... | |
char * | wbuf |
how much data, starting from rcur, do we have unparsed More... | |
char * | wcurr |
uint32_t | wsize |
uint32_t | wbytes |
STATE_FUNC | write_and_go |
which state to go into after finishing current write More... | |
void * | write_and_free |
char * | ritem |
free this memory after finishing writing More... | |
uint32_t | rlbytes |
when we read in an item's value, it goes here More... | |
void * | item |
item is used to hold an item structure created after reading the command line of set/add/replace commands, but before we finished reading the actual data. More... | |
ENGINE_STORE_OPERATION | store_op |
int | sbytes |
struct iovec * | iov |
int | iovsize |
int | iovused |
struct msghdr * | msglist |
int | msgsize |
int | msgused |
int | msgcurr |
int | msgbytes |
item ** | ilist |
int | isize |
item ** | icurr |
int | ileft |
char ** | suffixlist |
int | suffixsize |
char ** | suffixcurr |
int | suffixleft |
enum protocol | protocol |
enum network_transport | transport |
int | request_id |
struct sockaddr_storage | request_addr |
socklen_t | request_addr_size |
unsigned char * | hdrbuf |
int | hdrsize |
bool | noreply |
uint8_t | refcount |
struct { | |
char * buffer | |
size_t size | |
size_t offset | |
} | dynamic_buffer |
void * | engine_storage |
EXTENSION_ASCII_PROTOCOL_DESCRIPTOR * | ascii_cmd |
Current ascii protocol. More... | |
protocol_binary_request_header | binary_header |
uint64_t | cas |
short | cmd |
int | opaque |
int | keylen |
int | list_state |
conn * | next |
LIBEVENT_THREAD * | thread |
ENGINE_ERROR_CODE | aiostat |
bool | ewouldblock |
bool | tap_nack_mode |
TAP_ITERATOR | tap_iterator |
The structure representing a connection into memcached.
ENGINE_ERROR_CODE conn::aiostat |
EXTENSION_ASCII_PROTOCOL_DESCRIPTOR* conn::ascii_cmd |
Current ascii protocol.
protocol_binary_request_header conn::binary_header |
char* conn::buffer |
uint64_t conn::cas |
short conn::cmd |
struct { ... } conn::dynamic_buffer |
void* conn::engine_storage |
short conn::ev_flags |
struct event conn::event |
bool conn::ewouldblock |
unsigned char* conn::hdrbuf |
int conn::hdrsize |
item** conn::icurr |
int conn::ileft |
item** conn::ilist |
struct iovec* conn::iov |
int conn::iovsize |
int conn::iovused |
int conn::isize |
void* conn::item |
item is used to hold an item structure created after reading the command line of set/add/replace commands, but before we finished reading the actual data.
The data is read into ITEM_data(item) to avoid extra copying.
int conn::keylen |
int conn::list_state |
int conn::msgbytes |
int conn::msgcurr |
struct msghdr* conn::msglist |
int conn::msgsize |
int conn::msgused |
int conn::nevents |
conn* conn::next |
bool conn::noreply |
size_t conn::offset |
int conn::opaque |
enum protocol conn::protocol |
char* conn::rbuf |
which events were just triggered
uint32_t conn::rbytes |
total allocated size of rbuf
char* conn::rcurr |
buffer to read commands into
uint8_t conn::refcount |
struct sockaddr_storage conn::request_addr |
socklen_t conn::request_addr_size |
int conn::request_id |
char* conn::ritem |
free this memory after finishing writing
uint32_t conn::rlbytes |
when we read in an item's value, it goes here
uint32_t conn::rsize |
but if we parsed some already, this is where we stopped
sasl_conn_t* conn::sasl_conn |
int conn::sbytes |
SOCKET conn::sfd |
size_t conn::size |
STATE_FUNC conn::state |
ENGINE_STORE_OPERATION conn::store_op |
enum bin_substates conn::substate |
char** conn::suffixcurr |
int conn::suffixleft |
char** conn::suffixlist |
int conn::suffixsize |
TAP_ITERATOR conn::tap_iterator |
bool conn::tap_nack_mode |
LIBEVENT_THREAD* conn::thread |
enum network_transport conn::transport |
char* conn::wbuf |
how much data, starting from rcur, do we have unparsed
uint32_t conn::wbytes |
char* conn::wcurr |
short conn::which |
void* conn::write_and_free |
STATE_FUNC conn::write_and_go |
which state to go into after finishing current write
uint32_t conn::wsize |