ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/trunk/tools/ClusterConnection.java
Links to HEAD: (view) (annotate)
Sticky Revision:
(Current path doesn't exist after revision 950)
Sort logs by:
Revision 43 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 09:30:40 2006 UTC (18 years, 6 months ago) by duarte
File length: 16274 byte(s)
Diff to previous 38
Added executeSql method
Revision 38 - (view) (annotate) - [select for diffs]
Modified Mon Mar 20 11:37:12 2006 UTC (18 years, 6 months ago) by duarte
File length: 15569 byte(s)
Diff to previous 37
Added getAllIdxAndClients method:
gets all ids and client_names for a certain key
Revision 37 - (view) (annotate) - [select for diffs]
Modified Fri Mar 17 11:22:19 2006 UTC (18 years, 6 months ago) by duarte
File length: 14593 byte(s)
Diff to previous 35
Some changes in error messages to be more clear.
Revision 35 - (view) (annotate) - [select for diffs]
Modified Fri Mar 17 11:00:33 2006 UTC (18 years, 6 months ago) by duarte
File length: 14465 byte(s)
Diff to previous 34
Clean up a bit and added some more comments
Revision 34 - (view) (annotate) - [select for diffs]
Modified Fri Mar 17 10:48:03 2006 UTC (18 years, 6 months ago) by duarte
File length: 14217 byte(s)
Diff to previous 33
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.
Revision 33 - (view) (annotate) - [select for diffs]
Modified Wed Mar 15 11:58:24 2006 UTC (18 years, 6 months ago) by duarte
File length: 13600 byte(s)
Diff to previous 23
Changed all error printing in catches to STDERR instead of STDOUT
Revision 23 - (view) (annotate) - [select for diffs]
Modified Wed Mar 8 15:25:45 2006 UTC (18 years, 6 months ago) by duarte
File length: 13600 byte(s)
Diff to previous 22
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
Revision 22 - (view) (annotate) - [select for diffs]
Modified Tue Mar 7 13:22:37 2006 UTC (18 years, 6 months ago) by duarte
File length: 13423 byte(s)
Diff to previous 21
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.
Revision 21 - (view) (annotate) - [select for diffs]
Modified Tue Mar 7 11:50:37 2006 UTC (18 years, 6 months ago) by duarte
File length: 13423 byte(s)
Diff to previous 17
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.

Revision 17 - (view) (annotate) - [select for diffs]
Modified Mon Mar 6 09:20:16 2006 UTC (18 years, 6 months ago) by duarte
File length: 9453 byte(s)
Diff to previous 16
Grouped all the setIdxColumn and setMasterTable into setKey.
Also rationalised a bit the constructors by calling one from the other.
Revision 16 - (view) (annotate) - [select for diffs]
Modified Mon Mar 6 08:32:55 2006 UTC (18 years, 6 months ago) by duarte
File length: 10595 byte(s)
Diff to previous 15
Added package tools.
Revision 15 - (view) (annotate) - [select for diffs]
Added Mon Mar 6 08:25:22 2006 UTC (18 years, 6 months ago) by duarte
File length: 10609 byte(s)
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.

  Diffs between and
  Type of Diff should be a