MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MGMAPI.java
1 /*
2  Copyright 2010 Sun Microsystems, Inc.
3  All rights reserved. Use is subject to license terms.
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; version 2 of the License.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 /*
19  * MGMAPI.java
20  */
21 
22 package com.mysql.ndbjtie.mgmapi;
23 
24 import java.nio.ByteBuffer;
25 
26 import com.mysql.jtie.Wrapper;
27 
28 // MMM! move as static decl into MGMAPI? interface NdbMgmHandleConst
30 {} class NdbMgmHandle extends Wrapper implements NdbMgmHandleConst
32 {} interface NdbLogEventHandleConst
34 {} class NdbLogEventHandle extends Wrapper implements NdbLogEventHandleConst
36 {} class MGMAPI_ERROR
38 {
39  public interface /*_enum_*/ ndb_mgm_error
40  {
41  int NDB_MGM_NO_ERROR = 0,
42  NDB_MGM_ILLEGAL_CONNECT_STRING = 1001,
43  NDB_MGM_ILLEGAL_SERVER_HANDLE = 1005,
44  NDB_MGM_ILLEGAL_SERVER_REPLY = 1006,
45  NDB_MGM_ILLEGAL_NUMBER_OF_NODES = 1007,
46  NDB_MGM_ILLEGAL_NODE_STATUS = 1008,
47  NDB_MGM_OUT_OF_MEMORY = 1009,
48  NDB_MGM_SERVER_NOT_CONNECTED = 1010,
49  NDB_MGM_COULD_NOT_CONNECT_TO_SOCKET = 1011,
50  NDB_MGM_BIND_ADDRESS = 1012,
51  NDB_MGM_ALLOCID_ERROR = 1101,
52  NDB_MGM_ALLOCID_CONFIG_MISMATCH = 1102,
53  NDB_MGM_START_FAILED = 2001,
54  NDB_MGM_STOP_FAILED = 2002,
55  NDB_MGM_RESTART_FAILED = 2003,
56  NDB_MGM_COULD_NOT_START_BACKUP = 3001,
57  NDB_MGM_COULD_NOT_ABORT_BACKUP = 3002,
58  NDB_MGM_COULD_NOT_ENTER_SINGLE_USER_MODE = 4001,
59  NDB_MGM_COULD_NOT_EXIT_SINGLE_USER_MODE = 4002,
60  NDB_MGM_USAGE_ERROR = 5001;
61  }
62 } interface MGMAPI_CONFIG_PARAMTERS
64 {
65  int CFG_SYS_NAME = 3;
66  int CFG_SYS_PRIMARY_MGM_NODE = 1;
67  int CFG_SYS_CONFIG_GENERATION = 2;
68  int CFG_SYS_PORT_BASE = 8;
69  int CFG_NODE_ID = 3;
70  int CFG_NODE_BYTE_ORDER = 4;
71  int CFG_NODE_HOST = 5;
72  int CFG_NODE_SYSTEM = 6;
73  int CFG_NODE_DATADIR = 7;
74  int CFG_9 = 9;
75  int CFG_DB_NO_SAVE_MSGS = 100;
76  int CFG_DB_NO_REPLICAS = 101;
77  int CFG_DB_NO_TABLES = 102;
78  int CFG_DB_NO_ATTRIBUTES = 103;
79  int CFG_DB_NO_INDEXES = 104;
80  int CFG_DB_NO_TRIGGERS = 105;
81  int CFG_DB_NO_TRANSACTIONS = 106;
82  int CFG_DB_NO_OPS = 107;
83  int CFG_DB_NO_SCANS = 108;
84  int CFG_DB_NO_TRIGGER_OPS = 109;
85  int CFG_DB_NO_INDEX_OPS = 110;
86  int CFG_DB_TRANS_BUFFER_MEM = 111;
87  int CFG_DB_DATA_MEM = 112;
88  int CFG_DB_INDEX_MEM = 113;
89  int CFG_DB_MEMLOCK = 114;
90  int CFG_DB_START_PARTIAL_TIMEOUT = 115;
91  int CFG_DB_START_PARTITION_TIMEOUT = 116;
92  int CFG_DB_START_FAILURE_TIMEOUT = 117;
93  int CFG_DB_HEARTBEAT_INTERVAL = 118;
94  int CFG_DB_API_HEARTBEAT_INTERVAL = 119;
95  int CFG_DB_LCP_INTERVAL = 120;
96  int CFG_DB_GCP_INTERVAL = 121;
97  int CFG_DB_ARBIT_TIMEOUT = 122;
98  int CFG_DB_WATCHDOG_INTERVAL = 123;
99  int CFG_DB_STOP_ON_ERROR = 124;
100  int CFG_DB_FILESYSTEM_PATH = 125;
101  int CFG_DB_NO_REDOLOG_FILES = 126;
102  int CFG_DB_REDOLOG_FILE_SIZE = 140;
103  int CFG_DB_LCP_DISC_PAGES_TUP = 127;
104  int CFG_DB_LCP_DISC_PAGES_TUP_SR = 128;
105  int CFG_DB_LCP_DISC_PAGES_ACC = 137;
106  int CFG_DB_LCP_DISC_PAGES_ACC_SR = 138;
107  int CFG_DB_TRANSACTION_CHECK_INTERVAL = 129;
108  int CFG_DB_TRANSACTION_INACTIVE_TIMEOUT = 130;
109  int CFG_DB_TRANSACTION_DEADLOCK_TIMEOUT = 131;
110  int CFG_DB_PARALLEL_BACKUPS = 132;
111  int CFG_DB_BACKUP_MEM = 133;
112  int CFG_DB_BACKUP_DATA_BUFFER_MEM = 134;
113  int CFG_DB_BACKUP_LOG_BUFFER_MEM = 135;
114  int CFG_DB_BACKUP_WRITE_SIZE = 136;
115  int CFG_DB_BACKUP_MAX_WRITE_SIZE = 139;
116  int CFG_DB_WATCHDOG_INTERVAL_INITIAL = 141;
117  int CFG_LOG_DESTINATION = 147;
118  int CFG_DB_DISCLESS = 148;
119  int CFG_DB_NO_ORDERED_INDEXES = 149;
120  int CFG_DB_NO_UNIQUE_HASH_INDEXES = 150;
121  int CFG_DB_NO_LOCAL_OPS = 151;
122  int CFG_DB_NO_LOCAL_SCANS = 152;
123  int CFG_DB_BATCH_SIZE = 153;
124  int CFG_DB_UNDO_INDEX_BUFFER = 154;
125  int CFG_DB_UNDO_DATA_BUFFER = 155;
126  int CFG_DB_REDO_BUFFER = 156;
127  int CFG_DB_LONG_SIGNAL_BUFFER = 157;
128  int CFG_DB_BACKUP_DATADIR = 158;
129  int CFG_DB_MAX_OPEN_FILES = 159;
130  int CFG_DB_DISK_PAGE_BUFFER_MEMORY = 160;
131  int CFG_DB_STRING_MEMORY = 161;
132  int CFG_DB_INITIAL_OPEN_FILES = 162;
133  int CFG_DB_DISK_SYNCH_SIZE = 163;
134  int CFG_DB_CHECKPOINT_SPEED = 164;
135  int CFG_DB_CHECKPOINT_SPEED_SR = 165;
136  int CFG_DB_MEMREPORT_FREQUENCY = 166;
137  int CFG_DB_BACKUP_REPORT_FREQUENCY = 167;
138  int CFG_DB_O_DIRECT = 168;
139  int CFG_DB_MAX_ALLOCATE = 169;
140  int CFG_DB_MICRO_GCP_INTERVAL = 170;
141  int CFG_DB_MICRO_GCP_TIMEOUT = 171;
142  int CFG_DB_COMPRESSED_BACKUP = 172;
143  int CFG_DB_COMPRESSED_LCP = 173;
144  int CFG_DB_SCHED_EXEC_TIME = 174;
145  int CFG_DB_SCHED_SPIN_TIME = 175;
146  int CFG_DB_REALTIME_SCHEDULER = 176;
147  int CFG_DB_EXECUTE_LOCK_CPU = 177;
148  int CFG_DB_MAINT_LOCK_CPU = 178;
149  int CFG_DB_SUBSCRIPTIONS = 179;
150  int CFG_DB_SUBSCRIBERS = 180;
151  int CFG_DB_SUB_OPERATIONS = 181;
152  int CFG_DB_MAX_BUFFERED_EPOCHS = 182;
153  int CFG_DB_SUMA_HANDOVER_TIMEOUT = 183;
154  int CFG_DB_INIT_REDO = 189;
155  int CFG_DB_DD_FILESYSTEM_PATH = 193;
156  int CFG_DB_DD_DATAFILE_PATH = 194;
157  int CFG_DB_DD_UNDOFILE_PATH = 195;
158  int CFG_DB_DD_LOGFILEGROUP_SPEC = 196;
159  int CFG_DB_DD_TABLEPACE_SPEC = 197;
160  int CFG_DB_SGA = 198;
161  int CFG_DB_DATA_MEM_2 = 199;
162  int CFG_DB_LCP_TRY_LOCK_TIMEOUT = 605;
163  int CFG_NODE_ARBIT_RANK = 200;
164  int CFG_NODE_ARBIT_DELAY = 201;
165  int CFG_202 = 202;
166  int CFG_MIN_LOGLEVEL = 250;
167  int CFG_LOGLEVEL_STARTUP = 250;
168  int CFG_LOGLEVEL_SHUTDOWN = 251;
169  int CFG_LOGLEVEL_STATISTICS = 252;
170  int CFG_LOGLEVEL_CHECKPOINT = 253;
171  int CFG_LOGLEVEL_NODERESTART = 254;
172  int CFG_LOGLEVEL_CONNECTION = 255;
173  int CFG_LOGLEVEL_INFO = 256;
174  int CFG_LOGLEVEL_WARNING = 257;
175  int CFG_LOGLEVEL_ERROR = 258;
176  int CFG_LOGLEVEL_CONGESTION = 259;
177  int CFG_LOGLEVEL_DEBUG = 260;
178  int CFG_LOGLEVEL_BACKUP = 261;
179  int CFG_MAX_LOGLEVEL = 261;
180  int CFG_MGM_PORT = 300;
181  int CFG_CONNECTION_NODE_1 = 400;
182  int CFG_CONNECTION_NODE_2 = 401;
183  int CFG_CONNECTION_SEND_SIGNAL_ID = 402;
184  int CFG_CONNECTION_CHECKSUM = 403;
185  int CFG_CONNECTION_NODE_1_SYSTEM = 404;
186  int CFG_CONNECTION_NODE_2_SYSTEM = 405;
187  int CFG_CONNECTION_SERVER_PORT = 406;
188  int CFG_CONNECTION_HOSTNAME_1 = 407;
189  int CFG_CONNECTION_HOSTNAME_2 = 408;
190  int CFG_CONNECTION_GROUP = 409;
191  int CFG_CONNECTION_NODE_ID_SERVER = 410;
192  int CFG_411 = 411;
193  int CFG_TCP_SERVER = 452;
194  int CFG_TCP_SEND_BUFFER_SIZE = 454;
195  int CFG_TCP_RECEIVE_BUFFER_SIZE = 455;
196  int CFG_TCP_PROXY = 456;
197  int CFG_TCP_RCV_BUF_SIZE = 457;
198  int CFG_TCP_SND_BUF_SIZE = 458;
199  int CFG_TCP_MAXSEG_SIZE = 459;
200  int CFG_TCP_BIND_INADDR_ANY = 460;
201  int CFG_SHM_SEND_SIGNAL_ID = 500;
202  int CFG_SHM_CHECKSUM = 501;
203  int CFG_SHM_KEY = 502;
204  int CFG_SHM_BUFFER_MEM = 503;
205  int CFG_SHM_SIGNUM = 504;
206  int CFG_SCI_HOST1_ID_0 = 550;
207  int CFG_SCI_HOST1_ID_1 = 551;
208  int CFG_SCI_HOST2_ID_0 = 552;
209  int CFG_SCI_HOST2_ID_1 = 553;
210  int CFG_SCI_SEND_LIMIT = 554;
211  int CFG_SCI_BUFFER_MEM = 555;
212  int CFG_602 = 602;
213  int CFG_603 = 603;
214  int CFG_604 = 604;
215  int CFG_MAX_SCAN_BATCH_SIZE = 800;
216  int CFG_BATCH_BYTE_SIZE = 801;
217  int CFG_BATCH_SIZE = 802;
218  int CFG_AUTO_RECONNECT = 803;
219  int CFG_DB_STOP_ON_ERROR_INSERT = 1;
220  int CFG_TYPE_OF_SECTION = 999;
221  int CFG_SECTION_SYSTEM = 1000;
222  int CFG_SECTION_NODE = 2000;
223  int CFG_SECTION_CONNECTION = 3000;
224  int NODE_TYPE_DB = 0;
225  int NODE_TYPE_API = 1;
226  int NODE_TYPE_MGM = 2;
227  int CONNECTION_TYPE_TCP = 0;
228  int CONNECTION_TYPE_SHM = 1;
229  int CONNECTION_TYPE_SCI = 2;
230  int CONNECTION_TYPE_OSE = 3;
231 } class MGMAPI implements MGMAPI_CONFIG_PARAMTERS
233 {
234  static public final int MGM_LOGLEVELS = CFG_MAX_LOGLEVEL - CFG_MIN_LOGLEVEL + 1;
235  static public final int NDB_MGM_MAX_LOGLEVEL = 15;
236  public interface /*_enum_*/ ndb_mgm_node_type
237  {
238  int NDB_MGM_NODE_TYPE_UNKNOWN = -1,
239  NDB_MGM_NODE_TYPE_API = NODE_TYPE_API,
240  NDB_MGM_NODE_TYPE_NDB = NODE_TYPE_DB,
241  NDB_MGM_NODE_TYPE_MGM = NODE_TYPE_MGM;
242  }
243  public interface /*_enum_*/ ndb_mgm_node_status
244  {
245  int NDB_MGM_NODE_STATUS_UNKNOWN = 0,
246  NDB_MGM_NODE_STATUS_NO_CONTACT = 1,
247  NDB_MGM_NODE_STATUS_NOT_STARTED = 2,
248  NDB_MGM_NODE_STATUS_STARTING = 3,
249  NDB_MGM_NODE_STATUS_STARTED = 4,
250  NDB_MGM_NODE_STATUS_SHUTTING_DOWN = 5,
251  NDB_MGM_NODE_STATUS_RESTARTING = 6,
252  NDB_MGM_NODE_STATUS_SINGLEUSER = 7,
253  NDB_MGM_NODE_STATUS_RESUME = 8;
254  }
255  static public class /*_struct_*/ ndb_mgm_node_state {
256  int node_id;
257  int/*_ndb_mgm_node_type_*/ node_type;
258  int/*_ndb_mgm_node_status_*/ node_status;
259  int start_phase;
260  int dynamic_id;
261  int node_group;
262  int version;
263  int connect_count;
264  String/*_char[sizeof("000.000.000.000")+1]_*/ connect_address;
265  int mysql_version;
266  }
267  static public class /*_struct_*/ ndb_mgm_cluster_state {
268  int no_of_nodes;
269  ndb_mgm_node_state[/*_1_*/] node_states;
270  }
271  static public class /*_struct_*/ ndb_mgm_reply {
272  int return_code;
273  String/*_char[256]_*/ message;
274  }
275  static public class /*_struct_*/ ndb_mgm_severity {
276  int/*_ndb_mgm_event_severity_*/ category;
277  int/*_unsigned int_*/ value;
278  }
279  static public class /*_struct_*/ ndb_mgm_loglevel {
280  int/*_ndb_mgm_event_category_*/ category;
281  int/*_unsigned int_*/ value;
282  }
283  static public native int ndb_mgm_get_latest_error(NdbMgmHandleConst/*_const ndb_mgm_handle *_*/ handle);
284  static public native String/*_const char *_*/ ndb_mgm_get_latest_error_msg(NdbMgmHandleConst/*_const ndb_mgm_handle *_*/ handle);
285  static public native String/*_const char *_*/ ndb_mgm_get_latest_error_desc(NdbMgmHandleConst/*_const ndb_mgm_handle *_*/ handle);
286  // MMM! static public native void ndb_mgm_set_error_stream(NdbMgmHandle/*_ndb_mgm_handle *_*/ p0, FILE * p1);
287  static public native NdbMgmHandle/*_ndb_mgm_handle *_*/ ndb_mgm_create_handle();
288  static public native void ndb_mgm_destroy_handle(NdbMgmHandle[]/*_ndb_mgm_handle * *_*/ handle);
289  static public native void ndb_mgm_set_name(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, String/*_const char *_*/ name);
290  static public native int ndb_mgm_set_ignore_sigpipe(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int val);
291  static public native int ndb_mgm_set_connectstring(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, String/*_const char *_*/ connect_string);
292  static public native int ndb_mgm_number_of_mgmd_in_connect_string(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
293  static public native int ndb_mgm_set_configuration_nodeid(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int nodeid);
294  static public native int ndb_mgm_set_bindaddress(NdbMgmHandle/*_ndb_mgm_handle *_*/ p0, String/*_const char *_*/ arg);
295  static public native String/*_const char *_*/ ndb_mgm_get_connectstring(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, String[]/*_char *_*/ buf, int buf_sz);
296  static public native int ndb_mgm_set_connect_timeout(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int/*_unsigned int_*/ seconds);
297  static public native int ndb_mgm_set_timeout(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int/*_unsigned int_*/ timeout_ms);
298  static public native int ndb_mgm_connect(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_retries, int retry_delay_in_seconds, int verbose);
299  static public native int ndb_mgm_is_connected(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
300  static public native int ndb_mgm_disconnect(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
301  static public native int ndb_mgm_get_configuration_nodeid(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
302  static public native int ndb_mgm_get_connected_port(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
303  static public native String/*_const char *_*/ ndb_mgm_get_connected_host(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
304  static public native String/*_const char *_*/ ndb_mgm_get_connected_bind_address(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
305  static public native ndb_mgm_cluster_state ndb_mgm_get_status(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle);
306  static public native ndb_mgm_cluster_state ndb_mgm_get_status2(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int[]/*_const ndb_mgm_node_type[]_*/ types);
307  static public native int ndb_mgm_dump_state(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int nodeId, int[]/*_const int *_*/ args, int num_args, ndb_mgm_reply reply);
308  static public native int ndb_mgm_stop(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list);
309  static public native int ndb_mgm_stop2(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list, int abort);
310  static public native int ndb_mgm_stop3(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list, int abort, int[]/*_int *_*/ disconnect);
311  static public native int ndb_mgm_restart(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list);
312  static public native int ndb_mgm_restart2(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list, int initial, int nostart, int abort);
313  static public native int ndb_mgm_restart3(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list, int initial, int nostart, int abort, int[]/*_int *_*/ disconnect);
314  static public native int ndb_mgm_start(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int no_of_nodes, int[]/*_const int *_*/ node_list);
315  static public native int ndb_mgm_set_clusterlog_severity_filter(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int/*_ndb_mgm_event_severity_*/ severity, int enable, ndb_mgm_reply reply);
316  static public native int ndb_mgm_get_clusterlog_severity_filter(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, ndb_mgm_severity[]/*_ndb_mgm_severity *_*/ severity, int/*_unsigned int_*/ severity_size);
317  static public native int ndb_mgm_set_clusterlog_loglevel(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int nodeId, int/*_ndb_mgm_event_category_*/ category, int level, ndb_mgm_reply reply);
318  static public native int ndb_mgm_get_clusterlog_loglevel(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, ndb_mgm_loglevel[]/*_ndb_mgm_loglevel *_*/ loglevel, int/*_unsigned int_*/ loglevel_size);
319  static public native int ndb_mgm_listen_event(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int[]/*_const int[]_*/ filter);
320  static public native NdbLogEventHandle/*_ndb_logevent_handle *_*/ ndb_mgm_create_logevent_handle(NdbMgmHandle/*_ndb_mgm_handle *_*/ p0, int[]/*_const int[]_*/ filter);
321  static public native void ndb_mgm_destroy_logevent_handle(NdbLogEventHandle[]/*_ndb_logevent_handle * *_*/ p0);
322  static public native int ndb_logevent_get_fd(NdbLogEventHandleConst/*_const ndb_logevent_handle *_*/ p0);
323  static public native int ndb_logevent_get_next(NdbLogEventHandleConst/*_const ndb_logevent_handle *_*/ p0, NDB_LOGEVENT.ndb_logevent dst, int/*_unsigned int_*/ timeout_in_milliseconds);
324  static public native int ndb_logevent_get_latest_error(NdbLogEventHandleConst/*_const ndb_logevent_handle *_*/ p0);
325  static public native String/*_const char *_*/ ndb_logevent_get_latest_error_msg(NdbLogEventHandleConst/*_const ndb_logevent_handle *_*/ p0);
326  static public native int ndb_mgm_start_backup(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int wait_completed, int[]/*_unsigned int *_*/ backup_id, ndb_mgm_reply reply);
327  static public native int ndb_mgm_start_backup2(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int wait_completed, int[]/*_unsigned int *_*/ backup_id, ndb_mgm_reply reply, int/*_unsigned int_*/ input_backupId);
328  static public native int ndb_mgm_abort_backup(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int/*_unsigned int_*/ backup_id, ndb_mgm_reply reply);
329  static public native int ndb_mgm_enter_single_user(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, int/*_unsigned int_*/ nodeId, ndb_mgm_reply reply);
330  static public native int ndb_mgm_exit_single_user(NdbMgmHandle/*_ndb_mgm_handle *_*/ handle, ndb_mgm_reply reply);
331 } class NDB_LOGEVENT implements MGMAPI_CONFIG_PARAMTERS
333 {
334  public interface /*_enum_*/ Ndb_logevent_type
335  {
336  int NDB_LE_ILLEGAL_TYPE = -1,
337  NDB_LE_Connected = 0,
338  NDB_LE_Disconnected = 1,
339  NDB_LE_CommunicationClosed = 2,
340  NDB_LE_CommunicationOpened = 3,
341  NDB_LE_ConnectedApiVersion = 51,
342  NDB_LE_GlobalCheckpointStarted = 4,
343  NDB_LE_GlobalCheckpointCompleted = 5,
344  NDB_LE_LocalCheckpointStarted = 6,
345  NDB_LE_LocalCheckpointCompleted = 7,
346  NDB_LE_LCPStoppedInCalcKeepGci = 8,
347  NDB_LE_LCPFragmentCompleted = 9,
348  NDB_LE_NDBStartStarted = 10,
349  NDB_LE_NDBStartCompleted = 11,
350  NDB_LE_STTORRYRecieved = 12,
351  NDB_LE_StartPhaseCompleted = 13,
352  NDB_LE_CM_REGCONF = 14,
353  NDB_LE_CM_REGREF = 15,
354  NDB_LE_FIND_NEIGHBOURS = 16,
355  NDB_LE_NDBStopStarted = 17,
356  NDB_LE_NDBStopCompleted = 53,
357  NDB_LE_NDBStopForced = 59,
358  NDB_LE_NDBStopAborted = 18,
359  NDB_LE_StartREDOLog = 19,
360  NDB_LE_StartLog = 20,
361  NDB_LE_UNDORecordsExecuted = 21,
362  NDB_LE_NR_CopyDict = 22,
363  NDB_LE_NR_CopyDistr = 23,
364  NDB_LE_NR_CopyFragsStarted = 24,
365  NDB_LE_NR_CopyFragDone = 25,
366  NDB_LE_NR_CopyFragsCompleted = 26,
367  NDB_LE_NodeFailCompleted = 27,
368  NDB_LE_NODE_FAILREP = 28,
369  NDB_LE_ArbitState = 29,
370  NDB_LE_ArbitResult = 30,
371  NDB_LE_GCP_TakeoverStarted = 31,
372  NDB_LE_GCP_TakeoverCompleted = 32,
373  NDB_LE_LCP_TakeoverStarted = 33,
374  NDB_LE_LCP_TakeoverCompleted = 34,
375  NDB_LE_TransReportCounters = 35,
376  NDB_LE_OperationReportCounters = 36,
377  NDB_LE_TableCreated = 37,
378  NDB_LE_UndoLogBlocked = 38,
379  NDB_LE_JobStatistic = 39,
380  NDB_LE_SendBytesStatistic = 40,
381  NDB_LE_ReceiveBytesStatistic = 41,
382  NDB_LE_MemoryUsage = 50,
383  NDB_LE_ThreadConfigLoop = 68,
384  NDB_LE_TransporterError = 42,
385  NDB_LE_TransporterWarning = 43,
386  NDB_LE_MissedHeartbeat = 44,
387  NDB_LE_DeadDueToHeartbeat = 45,
388  NDB_LE_WarningEvent = 46,
389  NDB_LE_SentHeartbeat = 47,
390  NDB_LE_CreateLogBytes = 48,
391  NDB_LE_InfoEvent = 49,
392  NDB_LE_SingleUser = 52,
393  NDB_LE_BackupStarted = 54,
394  NDB_LE_BackupFailedToStart = 55,
395  NDB_LE_BackupStatus = 62,
396  NDB_LE_BackupCompleted = 56,
397  NDB_LE_BackupAborted = 57,
398  NDB_LE_RestoreMetaData = 63,
399  NDB_LE_RestoreData = 64,
400  NDB_LE_RestoreLog = 65,
401  NDB_LE_RestoreStarted = 66,
402  NDB_LE_RestoreCompleted = 67,
403  NDB_LE_EventBufferStatus = 58,
404  NDB_LE_StartReport = 60,
405  NDB_LE_SubscriptionStatus = 69,
406  NDB_LE_RedoStatus = 73;
407  }
408  public interface /*_enum_*/ ndb_mgm_event_severity
409  {
410  int NDB_MGM_ILLEGAL_EVENT_SEVERITY = -1,
411  NDB_MGM_EVENT_SEVERITY_ON = 0,
412  NDB_MGM_EVENT_SEVERITY_DEBUG = 1,
413  NDB_MGM_EVENT_SEVERITY_INFO = 2,
414  NDB_MGM_EVENT_SEVERITY_WARNING = 3,
415  NDB_MGM_EVENT_SEVERITY_ERROR = 4,
416  NDB_MGM_EVENT_SEVERITY_CRITICAL = 5,
417  NDB_MGM_EVENT_SEVERITY_ALERT = 6,
418  NDB_MGM_EVENT_SEVERITY_ALL = 7;
419  }
420  public interface /*_enum_*/ ndb_mgm_event_category
421  {
422  int NDB_MGM_ILLEGAL_EVENT_CATEGORY = -1,
423  NDB_MGM_EVENT_CATEGORY_STARTUP = CFG_LOGLEVEL_STARTUP,
424  NDB_MGM_EVENT_CATEGORY_SHUTDOWN = CFG_LOGLEVEL_SHUTDOWN,
425  NDB_MGM_EVENT_CATEGORY_STATISTIC = CFG_LOGLEVEL_STATISTICS,
426  NDB_MGM_EVENT_CATEGORY_CHECKPOINT = CFG_LOGLEVEL_CHECKPOINT,
427  NDB_MGM_EVENT_CATEGORY_NODE_RESTART = CFG_LOGLEVEL_NODERESTART,
428  NDB_MGM_EVENT_CATEGORY_CONNECTION = CFG_LOGLEVEL_CONNECTION,
429  NDB_MGM_EVENT_CATEGORY_BACKUP = CFG_LOGLEVEL_BACKUP,
430  NDB_MGM_EVENT_CATEGORY_CONGESTION = CFG_LOGLEVEL_CONGESTION,
431  NDB_MGM_EVENT_CATEGORY_INFO = CFG_LOGLEVEL_INFO,
432  NDB_MGM_EVENT_CATEGORY_ERROR = CFG_LOGLEVEL_ERROR;
433  }
434  static public class /*_struct_*/ ndb_logevent {
435  NdbLogEventHandle/*_void *_*/ handle;
436  int/*_Ndb_logevent_type_*/ type;
437  int/*_unsigned int_*/ time;
438  int/*_ndb_mgm_event_category_*/ category;
439  int/*_ndb_mgm_event_severity_*/ severity;
440  int/*_unsigned int_*/ level;
441  int/*_unsigned int_*/ source_nodeid;
442  // MMM union {
443  Connected _Connected;
444  Disconnected _Disconnected;
445  CommunicationClosed _CommunicationClosed;
446  CommunicationOpened _CommunicationOpened;
447  ConnectedApiVersion _ConnectedApiVersion;
448  GlobalCheckpointStarted _GlobalCheckpointStarted;
449  GlobalCheckpointCompleted _GlobalCheckpointCompleted;
450  LocalCheckpointStarted _LocalCheckpointStarted;
451  LocalCheckpointCompleted _LocalCheckpointCompleted;
452  LCPStoppedInCalcKeepGci _LCPStoppedInCalcKeepGci;
453  LCPFragmentCompleted _LCPFragmentCompleted;
454  UndoLogBlocked _UndoLogBlocked;
455  NDBStartStarted _NDBStartStarted;
456  NDBStartCompleted _NDBStartCompleted;
457  STTORRYRecieved _STTORRYRecieved;
458  StartPhaseCompleted _StartPhaseCompleted;
459  CM_REGCONF _CM_REGCONF;
460  CM_REGREF _CM_REGREF;
461  FIND_NEIGHBOURS _FIND_NEIGHBOURS;
462  NDBStopStarted _NDBStopStarted;
463  NDBStopCompleted _NDBStopCompleted;
464  NDBStopForced _NDBStopForced;
465  NDBStopAborted _NDBStopAborted;
466  StartREDOLog _StartREDOLog;
467  StartLog _StartLog;
468  UNDORecordsExecuted _UNDORecordsExecuted;
469  NR_CopyDict _NR_CopyDict;
470  NR_CopyDistr _NR_CopyDistr;
471  NR_CopyFragsStarted _NR_CopyFragsStarted;
472  NR_CopyFragDone _NR_CopyFragDone;
473  NR_CopyFragsCompleted _NR_CopyFragsCompleted;
474  NodeFailCompleted _NodeFailCompleted;
475  NODE_FAILREP _NODE_FAILREP;
476  ArbitState _ArbitState;
477  ArbitResult _ArbitResult;
478  GCP_TakeoverStarted _GCP_TakeoverStarted;
479  GCP_TakeoverCompleted _GCP_TakeoverCompleted;
480  LCP_TakeoverStarted _LCP_TakeoverStarted;
481  LCP_TakeoverCompleted _LCP_TakeoverCompleted;
482  TransReportCounters _TransReportCounters;
483  OperationReportCounters _OperationReportCounters;
484  TableCreated _TableCreated;
485  JobStatistic _JobStatistic;
486  SendBytesStatistic _SendBytesStatistic;
487  ReceiveBytesStatistic _ReceiveBytesStatistic;
488  MemoryUsage _MemoryUsage;
489  TransporterError _TransporterError;
490  TransporterWarning _TransporterWarning;
491  MissedHeartbeat _MissedHeartbeat;
492  DeadDueToHeartbeat _DeadDueToHeartbeat;
493  WarningEvent _WarningEvent;
494  SentHeartbeat _SentHeartbeat;
495  CreateLogBytes _CreateLogBytes;
496  InfoEvent _InfoEvent;
497  EventBufferStatus _EventBufferStatus;
498  BackupStarted _BackupStarted;
499  BackupFailedToStart _BackupFailedToStart;
500  BackupCompleted _BackupCompleted;
501  BackupStatus _BackupStatus;
502  BackupAborted _BackupAborted;
503  RestoreStarted _RestoreStarted;
504  RestoreMetaData _RestoreMetaData;
505  RestoreData _RestoreData;
506  RestoreLog _RestoreLog;
507  RestoreCompleted _RestoreCompleted;
508  SingleUser _SingleUser;
509  StartReport _StartReport;
510  SubscriptionStatus _SubscriptionStatus;
511  RedoStatus _RedoStatus;
512  // MMM }
513  static public class /*_struct_*/ Connected {
514  int/*_unsigned int_*/ node;
515  };
516  static public class /*_struct_*/ Disconnected {
517  int/*_unsigned int_*/ node;
518  };
519  static public class /*_struct_*/ CommunicationClosed {
520  int/*_unsigned int_*/ node;
521  };
522  static public class /*_struct_*/ CommunicationOpened {
523  int/*_unsigned int_*/ node;
524  };
525  static public class /*_struct_*/ ConnectedApiVersion {
526  int/*_unsigned int_*/ node;
527  int/*_unsigned int_*/ version;
528  };
529  static public class /*_struct_*/ GlobalCheckpointStarted {
530  int/*_unsigned int_*/ gci;
531  };
532  static public class /*_struct_*/ GlobalCheckpointCompleted {
533  int/*_unsigned int_*/ gci;
534  };
535  static public class /*_struct_*/ LocalCheckpointStarted {
536  int/*_unsigned int_*/ lci;
537  int/*_unsigned int_*/ keep_gci;
538  int/*_unsigned int_*/ restore_gci;
539  };
540  static public class /*_struct_*/ LocalCheckpointCompleted {
541  int/*_unsigned int_*/ lci;
542  };
543  static public class /*_struct_*/ LCPStoppedInCalcKeepGci {
544  int/*_unsigned int_*/ data;
545  };
546  static public class /*_struct_*/ LCPFragmentCompleted {
547  int/*_unsigned int_*/ node;
548  int/*_unsigned int_*/ table_id;
549  int/*_unsigned int_*/ fragment_id;
550  };
551  static public class /*_struct_*/ UndoLogBlocked {
552  int/*_unsigned int_*/ acc_count;
553  int/*_unsigned int_*/ tup_count;
554  };
555  static public class /*_struct_*/ NDBStartStarted {
556  int/*_unsigned int_*/ version;
557  };
558  static public class /*_struct_*/ NDBStartCompleted {
559  int/*_unsigned int_*/ version;
560  };
561  static public class /*_struct_*/ STTORRYRecieved {
562  int/*_unsigned int_*/ _todo;
563  };
564  static public class /*_struct_*/ StartPhaseCompleted {
565  int/*_unsigned int_*/ phase;
566  int/*_unsigned int_*/ starttype;
567  };
568  static public class /*_struct_*/ CM_REGCONF {
569  int/*_unsigned int_*/ own_id;
570  int/*_unsigned int_*/ president_id;
571  int/*_unsigned int_*/ dynamic_id;
572  };
573  static public class /*_struct_*/ CM_REGREF {
574  int/*_unsigned int_*/ own_id;
575  int/*_unsigned int_*/ other_id;
576  int/*_unsigned int_*/ cause;
577  };
578  static public class /*_struct_*/ FIND_NEIGHBOURS {
579  int/*_unsigned int_*/ own_id;
580  int/*_unsigned int_*/ left_id;
581  int/*_unsigned int_*/ right_id;
582  int/*_unsigned int_*/ dynamic_id;
583  };
584  static public class /*_struct_*/ NDBStopStarted {
585  int/*_unsigned int_*/ stoptype;
586  };
587  static public class /*_struct_*/ NDBStopCompleted {
588  int/*_unsigned int_*/ action;
589  int/*_unsigned int_*/ signum;
590  };
591  static public class /*_struct_*/ NDBStopForced {
592  int/*_unsigned int_*/ action;
593  int/*_unsigned int_*/ signum;
594  int/*_unsigned int_*/ error;
595  int/*_unsigned int_*/ sphase;
596  int/*_unsigned int_*/ extra;
597  };
598  static public class /*_struct_*/ NDBStopAborted {
599  int/*_unsigned int_*/ _todo;
600  };
601  static public class /*_struct_*/ StartREDOLog {
602  int/*_unsigned int_*/ node;
603  int/*_unsigned int_*/ keep_gci;
604  int/*_unsigned int_*/ completed_gci;
605  int/*_unsigned int_*/ restorable_gci;
606  };
607  static public class /*_struct_*/ StartLog {
608  int/*_unsigned int_*/ log_part;
609  int/*_unsigned int_*/ start_mb;
610  int/*_unsigned int_*/ stop_mb;
611  int/*_unsigned int_*/ gci;
612  };
613  static public class /*_struct_*/ UNDORecordsExecuted {
614  int/*_unsigned int_*/ block;
615  int/*_unsigned int_*/ data1;
616  int/*_unsigned int_*/ data2;
617  int/*_unsigned int_*/ data3;
618  int/*_unsigned int_*/ data4;
619  int/*_unsigned int_*/ data5;
620  int/*_unsigned int_*/ data6;
621  int/*_unsigned int_*/ data7;
622  int/*_unsigned int_*/ data8;
623  int/*_unsigned int_*/ data9;
624  int/*_unsigned int_*/ data10;
625  };
626  static public class /*_struct_*/ NR_CopyDict {
627  int/*_unsigned int_*/ _todo;
628  };
629  static public class /*_struct_*/ NR_CopyDistr {
630  int/*_unsigned int_*/ _todo;
631  };
632  static public class /*_struct_*/ NR_CopyFragsStarted {
633  int/*_unsigned int_*/ dest_node;
634  };
635  static public class /*_struct_*/ NR_CopyFragDone {
636  int/*_unsigned int_*/ dest_node;
637  int/*_unsigned int_*/ table_id;
638  int/*_unsigned int_*/ fragment_id;
639  };
640  static public class /*_struct_*/ NR_CopyFragsCompleted {
641  int/*_unsigned int_*/ dest_node;
642  };
643  static public class /*_struct_*/ NodeFailCompleted {
644  int/*_unsigned int_*/ block;
645  int/*_unsigned int_*/ failed_node;
646  int/*_unsigned int_*/ completing_node;
647  };
648  static public class /*_struct_*/ NODE_FAILREP {
649  int/*_unsigned int_*/ failed_node;
650  int/*_unsigned int_*/ failure_state;
651  };
652  static public class /*_struct_*/ ArbitState {
653  int/*_unsigned int_*/ code;
654  int/*_unsigned int_*/ arbit_node;
655  int/*_unsigned int_*/ ticket_0;
656  int/*_unsigned int_*/ ticket_1;
657  };
658  static public class /*_struct_*/ ArbitResult {
659  int/*_unsigned int_*/ code;
660  int/*_unsigned int_*/ arbit_node;
661  int/*_unsigned int_*/ ticket_0;
662  int/*_unsigned int_*/ ticket_1;
663  };
664  static public class /*_struct_*/ GCP_TakeoverStarted {
665  int/*_unsigned int_*/ _todo;
666  };
667  static public class /*_struct_*/ GCP_TakeoverCompleted {
668  int/*_unsigned int_*/ _todo;
669  };
670  static public class /*_struct_*/ LCP_TakeoverStarted {
671  int/*_unsigned int_*/ _todo;
672  };
673  static public class /*_struct_*/ LCP_TakeoverCompleted {
674  int/*_unsigned int_*/ state;
675  };
676  static public class /*_struct_*/ TransReportCounters {
677  int/*_unsigned int_*/ trans_count;
678  int/*_unsigned int_*/ commit_count;
679  int/*_unsigned int_*/ read_count;
680  int/*_unsigned int_*/ simple_read_count;
681  int/*_unsigned int_*/ write_count;
682  int/*_unsigned int_*/ attrinfo_count;
683  int/*_unsigned int_*/ conc_op_count;
684  int/*_unsigned int_*/ abort_count;
685  int/*_unsigned int_*/ scan_count;
686  int/*_unsigned int_*/ range_scan_count;
687  };
688  static public class /*_struct_*/ OperationReportCounters {
689  int/*_unsigned int_*/ ops;
690  };
691  static public class /*_struct_*/ TableCreated {
692  int/*_unsigned int_*/ table_id;
693  };
694  static public class /*_struct_*/ JobStatistic {
695  int/*_unsigned int_*/ mean_loop_count;
696  };
697  static public class /*_struct_*/ SendBytesStatistic {
698  int/*_unsigned int_*/ to_node;
699  int/*_unsigned int_*/ mean_sent_bytes;
700  };
701  static public class /*_struct_*/ ReceiveBytesStatistic {
702  int/*_unsigned int_*/ from_node;
703  int/*_unsigned int_*/ mean_received_bytes;
704  };
705  static public class /*_struct_*/ MemoryUsage {
706  int gth;
707  int/*_unsigned int_*/ page_size_bytes;
708  int/*_unsigned int_*/ pages_used;
709  int/*_unsigned int_*/ pages_total;
710  int/*_unsigned int_*/ block;
711  };
712  static public class /*_struct_*/ TransporterError {
713  int/*_unsigned int_*/ to_node;
714  int/*_unsigned int_*/ code;
715  };
716  static public class /*_struct_*/ TransporterWarning {
717  int/*_unsigned int_*/ to_node;
718  int/*_unsigned int_*/ code;
719  };
720  static public class /*_struct_*/ MissedHeartbeat {
721  int/*_unsigned int_*/ node;
722  int/*_unsigned int_*/ count;
723  };
724  static public class /*_struct_*/ DeadDueToHeartbeat {
725  int/*_unsigned int_*/ node;
726  };
727  static public class /*_struct_*/ WarningEvent {
728  int/*_unsigned int_*/ _todo;
729  };
730  static public class /*_struct_*/ SentHeartbeat {
731  int/*_unsigned int_*/ node;
732  };
733  static public class /*_struct_*/ CreateLogBytes {
734  int/*_unsigned int_*/ node;
735  };
736  static public class /*_struct_*/ InfoEvent {
737  int/*_unsigned int_*/ _todo;
738  };
739  static public class /*_struct_*/ EventBufferStatus {
740  int/*_unsigned int_*/ usage;
741  int/*_unsigned int_*/ alloc;
742  int/*_unsigned int_*/ max;
743  int/*_unsigned int_*/ apply_gci_l;
744  int/*_unsigned int_*/ apply_gci_h;
745  int/*_unsigned int_*/ latest_gci_l;
746  int/*_unsigned int_*/ latest_gci_h;
747  };
748  static public class /*_struct_*/ BackupStarted {
749  int/*_unsigned int_*/ starting_node;
750  int/*_unsigned int_*/ backup_id;
751  };
752  static public class /*_struct_*/ BackupFailedToStart {
753  int/*_unsigned int_*/ starting_node;
754  int/*_unsigned int_*/ error;
755  };
756  static public class /*_struct_*/ BackupCompleted {
757  int/*_unsigned int_*/ starting_node;
758  int/*_unsigned int_*/ backup_id;
759  int/*_unsigned int_*/ start_gci;
760  int/*_unsigned int_*/ stop_gci;
761  int/*_unsigned int_*/ n_records;
762  int/*_unsigned int_*/ n_log_records;
763  int/*_unsigned int_*/ n_bytes;
764  int/*_unsigned int_*/ n_log_bytes;
765  int/*_unsigned int_*/ n_records_hi;
766  int/*_unsigned int_*/ n_log_records_hi;
767  int/*_unsigned int_*/ n_bytes_hi;
768  int/*_unsigned int_*/ n_log_bytes_hi;
769  };
770  static public class /*_struct_*/ BackupStatus {
771  int/*_unsigned int_*/ starting_node;
772  int/*_unsigned int_*/ backup_id;
773  int/*_unsigned int_*/ n_records_lo;
774  int/*_unsigned int_*/ n_records_hi;
775  int/*_unsigned int_*/ n_log_records_lo;
776  int/*_unsigned int_*/ n_log_records_hi;
777  int/*_unsigned int_*/ n_bytes_lo;
778  int/*_unsigned int_*/ n_bytes_hi;
779  int/*_unsigned int_*/ n_log_bytes_lo;
780  int/*_unsigned int_*/ n_log_bytes_hi;
781  };
782  static public class /*_struct_*/ BackupAborted {
783  int/*_unsigned int_*/ starting_node;
784  int/*_unsigned int_*/ backup_id;
785  int/*_unsigned int_*/ error;
786  };
787  static public class /*_struct_*/ RestoreStarted {
788  int/*_unsigned int_*/ backup_id;
789  int/*_unsigned int_*/ node_id;
790  };
791  static public class /*_struct_*/ RestoreMetaData {
792  int/*_unsigned int_*/ backup_id;
793  int/*_unsigned int_*/ node_id;
794  int/*_unsigned int_*/ n_tables;
795  int/*_unsigned int_*/ n_tablespaces;
796  int/*_unsigned int_*/ n_logfilegroups;
797  int/*_unsigned int_*/ n_datafiles;
798  int/*_unsigned int_*/ n_undofiles;
799  };
800  static public class /*_struct_*/ RestoreData {
801  int/*_unsigned int_*/ backup_id;
802  int/*_unsigned int_*/ node_id;
803  int/*_unsigned int_*/ n_records_lo;
804  int/*_unsigned int_*/ n_records_hi;
805  int/*_unsigned int_*/ n_bytes_lo;
806  int/*_unsigned int_*/ n_bytes_hi;
807  };
808  static public class /*_struct_*/ RestoreLog {
809  int/*_unsigned int_*/ backup_id;
810  int/*_unsigned int_*/ node_id;
811  int/*_unsigned int_*/ n_records_lo;
812  int/*_unsigned int_*/ n_records_hi;
813  int/*_unsigned int_*/ n_bytes_lo;
814  int/*_unsigned int_*/ n_bytes_hi;
815  };
816  static public class /*_struct_*/ RestoreCompleted {
817  int/*_unsigned int_*/ backup_id;
818  int/*_unsigned int_*/ node_id;
819  };
820  static public class /*_struct_*/ SingleUser {
821  int/*_unsigned int_*/ type;
822  int/*_unsigned int_*/ node_id;
823  };
824  static public class /*_struct_*/ StartReport {
825  int/*_unsigned int_*/ report_type;
826  int/*_unsigned int_*/ remaining_time;
827  int/*_unsigned int_*/ bitmask_size;
828  int[]/*_unsigned int[1]_*/ bitmask_data;
829  };
830  static public class /*_struct_*/ SubscriptionStatus {
831  int/*_unsigned int_*/ report_type;
832  int/*_unsigned int_*/ node_id;
833  };
834  static public class /*_struct_*/ RedoStatus {
835  int/*_unsigned int_*/ log_part;
836  int/*_unsigned int_*/ head_file_no;
837  int/*_unsigned int_*/ head_mbyte;
838  int/*_unsigned int_*/ tail_file_no;
839  int/*_unsigned int_*/ tail_mbyte;
840  int/*_unsigned int_*/ total_hi;
841  int/*_unsigned int_*/ total_lo;
842  int/*_unsigned int_*/ free_hi;
843  int/*_unsigned int_*/ free_lo;
844  };
845  }
846  public interface /*_enum_*/ ndb_logevent_handle_error
847  {
848  int NDB_LEH_NO_ERROR = 0,
849  NDB_LEH_READ_ERROR = 1,
850  NDB_LEH_MISSING_EVENT_SPECIFIER = 2,
851  NDB_LEH_UNKNOWN_EVENT_TYPE = 3,
852  NDB_LEH_UNKNOWN_EVENT_VARIABLE = 4,
853  NDB_LEH_INTERNAL_ERROR = 5;
854  }
855 }