openlsd.multiple.admin.LSDInitOpFromDBPL Class Reference

Collaboration diagram for openlsd.multiple.admin.LSDInitOpFromDBPL:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class is intend to enable reload of all documents in the Op table in order to allow resynchronisation after a crash occurs on the remote OpenLSD Server, using PL/SQL procedure.
Author:
Frederic BREGIER LGPL 2007

Public Member Functions

boolean runInitOpFromDB ()

Static Public Member Functions

static void main (String[] args)

Protected Member Functions

int initializeArgs (String[] args, int curargs)

Protected Attributes

LSDDbAdmin admin = null
LSDDbLegacy legacy = null
long lid = LSDConstants.invalide_idx
LSDBusiness lsdb = null
LSDDbIpPort ipportProt = null
boolean isConcurrent = false
long idip = LSDConstants.invalide_idx

Private Member Functions

 LSDInitOpFromDBPL (LSDLoadConfig llc)

Constructor & Destructor Documentation

openlsd.multiple.admin.LSDInitOpFromDBPL.LSDInitOpFromDBPL ( LSDLoadConfig  llc  )  [private]

Constructor

Parameters:
llc 


Member Function Documentation

int openlsd.multiple.admin.LSDInitOpFromDBPL.initializeArgs ( String[]  args,
int  curargs 
) [protected]

Get arguments

Parameters:
args 
curargs 
Returns:
the next current rank

static void openlsd.multiple.admin.LSDInitOpFromDBPL.main ( String[]  args  )  [static]

This program takes the following arguments:
the configfilename
-lid the legacy to resynchronize
-idip the Id for IpPort of the LSD Server source for Protected port
-concurrent: specify that each reference has to be commited (less performance)

Parameters:
args 

boolean openlsd.multiple.admin.LSDInitOpFromDBPL.runInitOpFromDB (  ) 

Initialize the Op database table from existent documents

Returns:
True if OK, else False


Member Data Documentation

DB Admin Object

DB Legacy Object

Legacy ID

String identifying one specific document in one legacy : Business object

IpPort Object

Is in mode concurrent of Import and OpHandler (less performant)

IdIp of local LSD Server in ML case (option -idip)


The documentation for this class was generated from the following file: