openlsd.multiple.admin.LSDOpHandlerImport 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 final export files that can be produced by the OpHandlerExport itself, using a format as "idip;op;lid;sid;did;size;md5;business-index". The global logic is to import or delete references if the idip is the one concerned by the local Host.
- Author:
- Frederic BREGIER LGPL 2007
Member Function Documentation
static void openlsd.multiple.admin.LSDOpHandlerImport.main |
( |
String[] |
args |
) |
[static] |
This class proposes a way to import a "full" export file containing all necessary information for database replication.
- Parameters:
-
| args | as client side configfilename, the -idip idip option where idip is the local idip of the OpenLSD Server that import the following full export file and then the filename containing the full export from OpHandlerExport. |
static boolean openlsd.multiple.admin.LSDOpHandlerImport.oneLineTask |
( |
String |
line |
) |
[static, private] |
Export One line at a time
- Parameters:
-
- Returns:
- True if OK, else false
Member Data Documentation
The connection to the source database
The doc used in the iteration
The lsdb used in the iteration
IdIp identifier of the local Database
The documentation for this class was generated from the following file:
- OpenLSD/Multiple/openlsd/multiple/admin/LSDOpHandlerImport.java