List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 26 2007 11:20pm
Subject:Rev 204: Added methods to public Ndb interface supporting Events. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 204
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Fri 2007-10-26 16:20:22 -0700
message:
  Added methods to public Ndb interface supporting Events. 
  Changed the Makefile.am clean rule.
modified:
  java/Makefile.am               makefile.am-20070415032352-9dpe6aurqcnuwcrd-1
  java/com/mysql/cluster/ndbj/Ndb.java ndb.java-20070517181935-98huwjarzuh25b30-2
=== modified file 'java/Makefile.am'
--- a/java/Makefile.am	2007-10-24 04:03:28 +0000
+++ b/java/Makefile.am	2007-10-26 23:20:22 +0000
@@ -5,7 +5,7 @@
 BUILT_SOURCES = $(NDBAPI_BUILT_SRC) $(MGMAPI_BUILT_SRC)
 NDBAPI_SWIG_SRC = ndbj.i $(SWIG_SOURCES)
 MGMAPI_SWIG_SRC = mgmj.i $(topdir)/swig/mgm.i
-CLEANFILES = $(BUILT_SOURCES) *class *log ndbj.jar *_wrap.h
+CLEANFILES = $(BUILT_SOURCES) *class *log ndbj.jar ndbj.h mgmj.h
 
 lib_LTLIBRARIES = libndbj.la libmgmj.la
 libndbj_la_SOURCES = ndbj.cxx

=== modified file 'java/com/mysql/cluster/ndbj/Ndb.java'
--- a/java/com/mysql/cluster/ndbj/Ndb.java	2007-10-25 00:10:47 +0000
+++ b/java/com/mysql/cluster/ndbj/Ndb.java	2007-10-26 23:20:22 +0000
@@ -127,4 +127,9 @@
 	public int sendPollNdb(int aMillisecondNumber, int minNoOfEventsToWakeup, int forceSend)
throws NdbApiException;
 
 	public int sendPollNdb(int aMillisecondNumber, int minNoOfEventsToWakeup) throws
NdbApiException;
+
+	public NdbEventOperationImpl nextEvent() throws NdbApiException;
+
+	public int pollEvents(int aMillisecondNumber) throws NdbApiException;
+
 }
\ No newline at end of file

Thread
Rev 204: Added methods to public Ndb interface supporting Events. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor27 Oct