openlsd.multiple.admin.LSDOpHandlerExport Class Reference
List of all members.
Detailed Description
This class is intend to propose a framework to enable database replication using an applicative way (replication of orders to redo in replicated databases) based on the export files that can be produced by the OpHandler itself. The global logic is to produce for the given file a new file containing all necessary data to be replay on replicated hosts, using the format "idip;op;lid;sid;did;size;md5;business-index".
- Author:
- Frederic BREGIER LGPL 2007
Member Function Documentation
| static void openlsd.multiple.admin.LSDOpHandlerExport.main |
( |
String[] |
args |
) |
[static] |
This class proposes a way to compute "full" export file containing all necessary information for database replication.
- Parameters:
-
| args | as client side configfilename and then the filename containing the export from OpHandler. |
| static boolean openlsd.multiple.admin.LSDOpHandlerExport.oneLineTask |
( |
String |
line |
) |
[static, private] |
Export One line at a time
- Parameters:
-
- Returns:
- True if OK, else false
Member Data Documentation
The preparedStatement to get the corresponding document from LSD
The connection to the source database
The doc used in the iteration
FileWriter for the final output (source filename+".full")
The documentation for this class was generated from the following file:
- OpenLSD/Multiple/openlsd/multiple/admin/LSDOpHandlerExport.java