|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.multiple.admin.LSDInitOpFromDBPLForStorage
public class LSDInitOpFromDBPLForStorage
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 for One Storage from One Legacy, using PL/SQL procedure.
Field Summary | |
---|---|
protected LSDDbAdmin |
admin
DB Admin Object |
protected long |
idip
IdIp of local LSD Server in ML case (option -idip) |
protected LSDDbIpPort |
ipportProt
IpPort Object |
protected boolean |
isConcurrent
Is in mode concurrent of Import and OpHandler (less performant) |
protected long |
lid
Legacy ID |
protected LSDBusiness |
lsdb
String identifying one specific document in one legacy : Business object |
protected long |
sid
Storage ID |
protected LSDDbStorage |
storage
DB Storage Object |
Method Summary | |
---|---|
protected int |
initializeArgs(java.lang.String[] args,
int curargs)
Get arguments |
static void |
main(java.lang.String[] args)
This program takes the following arguments: the configfilename -lid the legacy to resynchronize -sid the storage to resynchronize in the given legacy -idip the Id for IpPort of the LSD Server source for Protected port -concurrent: specify that each reference has to be commited (less performance) |
boolean |
runInitOpFromDB()
Initialize the Op database table from existent documents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected LSDDbAdmin admin
protected LSDDbStorage storage
protected long lid
protected long sid
protected LSDBusiness lsdb
protected LSDDbIpPort ipportProt
protected boolean isConcurrent
protected long idip
Method Detail |
---|
protected int initializeArgs(java.lang.String[] args, int curargs)
args
- curargs
-
public static void main(java.lang.String[] args)
args
- public boolean runInitOpFromDB()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |