22 #include "SignalData.hpp"
37 STATIC_CONST( SignalLength = 9 + NdbNodeBitmask::Size);
50 Int32 transactionTimeout;
51 Int32 readOperationTimeout;
52 Int32 operationTimeout;
54 Uint32 nodes[NdbNodeBitmask::Size];
56 static void setSystemStop(Uint32 & requestInfo,
bool value);
57 static void setPerformRestart(Uint32 & requestInfo,
bool value);
58 static void setNoStart(Uint32 & requestInfo,
bool value);
59 static void setInitialStart(Uint32 & requestInfo,
bool value);
63 static void setStopAbort(Uint32 & requestInfo,
bool value);
64 static void setStopNodes(Uint32 & requestInfo,
bool value);
66 static bool getSystemStop(
const Uint32 & requestInfo);
67 static bool getPerformRestart(
const Uint32 & requestInfo);
68 static bool getNoStart(
const Uint32 & requestInfo);
69 static bool getInitialStart(
const Uint32 & requestInfo);
70 static bool getStopAbort(
const Uint32 & requestInfo);
71 static bool getStopNodes(
const Uint32 & requestInfo);
76 STATIC_CONST( SignalLength = 2 );
97 STATIC_CONST( SignalLength = 3 );
101 NodeShutdownInProgress = 1,
102 SystemShutdownInProgress = 2,
103 NodeShutdownWouldCauseSystemCrash = 3,
104 TransactionAbortFailed = 4,
105 UnsupportedNodeShutdown = 5,
106 MultiNodeShutdownNotMaster = 6
117 StopReq::getSystemStop(
const Uint32 & requestInfo)
119 return requestInfo & 1;
124 StopReq::getPerformRestart(
const Uint32 & requestInfo)
126 return requestInfo & 2;
131 StopReq::getNoStart(
const Uint32 & requestInfo)
133 return requestInfo & 4;
138 StopReq::getInitialStart(
const Uint32 & requestInfo)
140 return requestInfo & 8;
145 StopReq::getStopAbort(
const Uint32 & requestInfo)
147 return requestInfo & 32;
152 StopReq::getStopNodes(
const Uint32 & requestInfo)
154 return requestInfo & 64;
160 StopReq::setSystemStop(Uint32 & requestInfo,
bool value)
170 StopReq::setPerformRestart(Uint32 & requestInfo,
bool value)
180 StopReq::setNoStart(Uint32 & requestInfo,
bool value)
190 StopReq::setInitialStart(Uint32 & requestInfo,
bool value)
210 StopReq::setStopNodes(Uint32 & requestInfo,
bool value)