openlsd.multiple.admin.commoncheck.limit.LSDCheckInDBAbstractDualML Class Reference

Inheritance diagram for openlsd.multiple.admin.commoncheck.limit.LSDCheckInDBAbstractDualML:

Inheritance graph
[legend]
Collaboration diagram for openlsd.multiple.admin.commoncheck.limit.LSDCheckInDBAbstractDualML:

Collaboration graph
[legend]

List of all members.


Detailed Description

Check DB <-> LSD in parallel but local to the LSD server with one step from LSD then both sides LSD/DB with DB. ML Version.

Author:
Frederic Bregier LGPL

Static Public Attributes

static boolean errorFreeLegacy = true
static LSDLoadConfig llc = null

Protected Member Functions

int initializeArgs (String[] args, int curargs)
boolean checkLID ()
boolean checkDBConsistency ()

Protected Attributes

long idip = LSDConstants.invalide_idx
long opFix = LSDConstants.invalide_idx
long lid = LSDConstants.invalide_idx
LSDDbAdmin admin = null
LSDDbLegacy legacy = null
LSDLegacy lsdlegacy = null
LSDDbIpPort ipportAdmin = null
boolean repairlsd = false
boolean repairdb = false
boolean repairupdb = false
boolean updateDate = false
boolean nodate = false
boolean useCfunc = false

Member Function Documentation

int openlsd.multiple.admin.commoncheck.limit.LSDCheckInDBAbstractDualML.initializeArgs ( String[]  args,
int  curargs 
) [protected]

Get arguments

Parameters:
args 
curargs 
Returns:
the next current rank

Reimplemented from openlsd.server.admin.commoncheck.LSDCheckInDBAbstract.

boolean openlsd.multiple.admin.commoncheck.limit.LSDCheckInDBAbstractDualML.checkLID (  )  [protected]

Check from LSD to DB and reverse for one Legacy

Returns:
True if OK, else return False

Reimplemented from openlsd.server.admin.commoncheck.limit.LSDCheckInDBAbstractDual.

boolean openlsd.server.admin.commoncheck.LSDCheckInDBAbstract.checkDBConsistency (  )  [protected, inherited]

Check only DB consistency

Returns:
True if OK, else return False


Member Data Documentation

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

ML Support: OpFix as the idip of the remote server to use (as valid) if the check should use OpHandler function to correct problem.

current Legacy id

The DBAdmin connector

The DB Legacy object

The LSD Legacy object

The IpPort Admin object

LSD is to be repaired

DB is to be repaired

DB is to be repaired with MD5 to be updated

No repair will be done but the date will be update if no error is found

Is the current Legacy error free

boolean openlsd.server.admin.commoncheck.LSDCheckInDBAbstract.nodate = false [protected, inherited]

Don't take previous date in consideration

Use C Functions to check File Systems instead of Java Functions

Object to load XML configuration


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