MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
mt_send_handle (thr_data *ptr) | |
virtual Uint32 * | getWritePtr (NodeId node, Uint32 len, Uint32 prio, Uint32 max) |
virtual Uint32 | updateWritePtr (NodeId node, Uint32 lenBytes, Uint32 prio) |
virtual bool | forceSend (NodeId node) |
Public Attributes | |
struct thr_data * | m_selfptr |
|
virtual |
This is used in case send buffer gets full, to force an emergency send, hopefully freeing up some buffer space for the next signal.
Implements TransporterSendBufferHandle.
Definition at line 2027 of file mt.cpp.
|
virtual |
Get space for packing a signal into, allocate more buffer as needed.
The max_use parameter is a limit on the amount of unsent data (whether delivered through get_bytes_to_send_iovec() or not) for one node; the method must return NULL rather than allow to exceed this amount.
Implements TransporterSendBufferHandle.
|
virtual |
Called when new signal is packed.
Returns number of bytes in buffer not yet sent (this includes data that was made available to send with get_bytes_to_send_iovec(), but has not yet been marked as really sent from bytes_sent()).
Implements TransporterSendBufferHandle.