MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NdbImpl Class Reference

#include <NdbImpl.hpp>

Inheritance diagram for NdbImpl:
Collaboration diagram for NdbImpl:

Public Member Functions

 NdbImpl (Ndb_cluster_connection *, Ndb &)
int send_event_report (bool has_lock, Uint32 *data, Uint32 length)
int update_prefix ()
Uint32 get_waitfor_timeout () const
const NdbApiConfigget_ndbapi_config_parameters () const
void incClientStat (const Ndb::ClientStatistics stat, const Uint64 inc)
void decClientStat (const Ndb::ClientStatistics stat, const Uint64 dec)
void setClientStat (const Ndb::ClientStatistics stat, const Uint64 val)
virtual void trp_deliver_signal (const NdbApiSignal *, const LinearSectionPtr p[3])
virtual void recordWaitTimeNanos (Uint64 nanos)
bool get_node_alive (NodeId nodeId) const
bool get_node_stopping (NodeId nodeId) const
bool getIsDbNode (NodeId nodeId) const
bool getIsNodeSendable (NodeId nodeId) const
Uint32 getNodeGrp (NodeId nodeId) const
Uint32 getNodeSequence (NodeId nodeId) const
Uint32 getNodeNdbVersion (NodeId nodeId) const
Uint32 getMinDbNodeVersion () const
bool check_send_size (Uint32 node_id, Uint32 send_size) const
int sendSignal (NdbApiSignal *, Uint32 nodeId)
int sendSignal (NdbApiSignal *, Uint32 nodeId, const LinearSectionPtr ptr[3], Uint32 secs)
int sendSignal (NdbApiSignal *, Uint32 nodeId, const GenericSectionPtr ptr[3], Uint32 secs)
int sendFragmentedSignal (NdbApiSignal *, Uint32 nodeId, const LinearSectionPtr ptr[3], Uint32 secs)
int sendFragmentedSignal (NdbApiSignal *, Uint32 nodeId, const GenericSectionPtr ptr[3], Uint32 secs)
- Public Member Functions inherited from trp_client
virtual ~trp_client ()
Uint32 open (class TransporterFacade *, int blockNo=-1)
void close ()
void start_poll ()
void do_poll (Uint32)
void complete_poll ()
void wakeup ()
void do_forceSend (int val=1)
int raw_sendSignal (const NdbApiSignal *, Uint32 nodeId)
int raw_sendSignal (const NdbApiSignal *, Uint32 nodeId, const LinearSectionPtr ptr[3], Uint32 secs)
int raw_sendSignal (const NdbApiSignal *, Uint32 nodeId, const GenericSectionPtr ptr[3], Uint32 secs)
int raw_sendFragmentedSignal (const NdbApiSignal *, Uint32 nodeId, const LinearSectionPtr ptr[3], Uint32 secs)
int raw_sendFragmentedSignal (const NdbApiSignal *, Uint32 nodeId, const GenericSectionPtr ptr[3], Uint32 secs)
const trp_nodegetNodeInfo (Uint32 i) const
void lock ()
void unlock ()
Uint32 getOwnNodeId () const
int safe_sendSignal (const NdbApiSignal *, Uint32 nodeId)

Static Public Member Functions

static void setNdbError (Ndb &ndb, int code)
static void setForceShortRequests (Ndb *ndb, bool val)
static bool recordGSN (Uint32 gsn)

Public Attributes

Ndbm_ndb
Ndbm_next_ndb_object
Ndbm_prev_ndb_object
Ndb_cluster_connection_implm_ndb_cluster_connection
TransporterFacade *const m_transporter_facade
NdbDictionaryImpl m_dictionary
Uint32 theCurrentConnectIndex
Ndb_cluster_connection_node_iter m_node_iter
NdbObjectIdMap theNdbObjectIdMap
Uint32 theNoOfDBnodes
Uint8 theDBnodes [MAX_NDB_NODES]
Uint32 the_release_ind [MAX_NDB_NODES]
NdbWaiter theWaiter
NdbEventOperationImplm_ev_op
int m_optimized_node_selection
BaseString m_dbname
BaseString m_schemaname
BaseString m_prefix
bool forceShortRequests
BaseString m_systemPrefix
void * customDataPtr
Uint64 clientStats [Ndb::NumClientStatistics]
Ndb_free_list_t< NdbRecAttrtheRecAttrIdleList
Ndb_free_list_t< NdbApiSignaltheSignalIdleList
Ndb_free_list_t< NdbLabeltheLabelList
Ndb_free_list_t< NdbBranchtheBranchList
Ndb_free_list_t< NdbSubroutinetheSubroutineList
Ndb_free_list_t< NdbCalltheCallList
Ndb_free_list_t< NdbBlobtheNdbBlobIdleList
Ndb_free_list_t< NdbReceivertheScanList
Ndb_free_list_t< NdbLockHandletheLockHandleList
Ndb_free_list_t
< NdbIndexScanOperation
theScanOpIdleList
Ndb_free_list_t< NdbOperationtheOpIdleList
Ndb_free_list_t
< NdbIndexOperation
theIndexOpIdleList
Ndb_free_list_t< NdbTransactiontheConIdleList

Detailed Description

Private parts of the Ndb object (corresponding to Ndb.hpp in public API)

Definition at line 54 of file NdbImpl.hpp.

Member Function Documentation

void NdbImpl::trp_deliver_signal ( const NdbApiSignal aSignal,
const LinearSectionPtr  p[3] 
)
virtual

trp_client interface

Implements trp_client.

Definition at line 173 of file Ndbif.cpp.

Member Data Documentation

Ndb_free_list_t<NdbRecAttr> NdbImpl::theRecAttrIdleList

NOTE free lists must be after theNdbObjectIdMap take assure that destructors are run in correct order NOTE these has to be in this specific order to make destructor run in correct order

Definition at line 175 of file NdbImpl.hpp.


The documentation for this class was generated from the following files: