From: Bryan T. <tho...@us...> - 2007-04-25 14:57:20
|
Update of /cvsroot/cweb/bigdata/src/java/com/bigdata/scaleup In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv16408/src/java/com/bigdata/scaleup Modified Files: MasterJournal.java MetadataIndex.java Log Message: Progress on the BigdataClient. Index: MasterJournal.java =================================================================== RCS file: /cvsroot/cweb/bigdata/src/java/com/bigdata/scaleup/MasterJournal.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** MasterJournal.java 23 Apr 2007 18:58:37 -0000 1.9 --- MasterJournal.java 25 Apr 2007 14:57:11 -0000 1.10 *************** *** 1177,1180 **** --- 1177,1187 ---- return slave.getFile(); } + + /** + * Shutdown the journal politely. + */ + public void shutdown() { + slave.shutdown(); + } public void close() { Index: MetadataIndex.java =================================================================== RCS file: /cvsroot/cweb/bigdata/src/java/com/bigdata/scaleup/MetadataIndex.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** MetadataIndex.java 23 Apr 2007 18:58:37 -0000 1.10 --- MetadataIndex.java 25 Apr 2007 14:57:11 -0000 1.11 *************** *** 327,330 **** --- 327,335 ---- * @return The partition spanning the given key or <code>null</code> if * there are no partitions defined. + * + * FIXME offer a variant that reports the index partitions spanned by a key + * range and write tests for that. Note that the remote API for that method + * should use a result-set data model to efficiently communicate the data + * when there are a large #of spanned partitions. */ public PartitionMetadata find(byte[] key) { |