Links to HEAD: | (view) (annotate) |
Sticky Revision: | |
Sort logs by: |
Added executeSql method
Added getAllIdxAndClients method: gets all ids and client_names for a certain key
Some changes in error messages to be more clear.
Clean up a bit and added some more comments
Refactor some method names to be more consistent. Changed some fields to be final (and uppercase them) Added comments for the most importat methods Made the createStatment(idx) method private, this should only be used internally. Would be dangerous to use it from anothe class.
Changed all error printing in catches to STDERR instead of STDOUT
Fixed important bug: - now closing nCon connection before opening a new one in the setHost method. - this is important. Before lots of connection were left opened after having used the ClusterConnection object
Fixed bug in getIdxSet method. Wasn't reading properly the index_matrix table into the array. Was starting from columnn 1 which actually is the serial column. Now starting from column 2.
New method int[][] getIdxSet. - Returns a 2-dimensional array with all indices for a certain key. - Each column j corresponds to client_id j+1 - Each row i is a set of idx values for each of the client_ids. If there is no idx for a certain client_id then the value is 0.
Grouped all the setIdxColumn and setMasterTable into setKey. Also rationalised a bit the constructors by calling one from the other.
Added package tools.
Initial commit of the ClusterConnection class + small test class to test it out.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.