|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.appli.autoimport.commonimport.LSDImportAbstract openlsd.appli.autoimport.LSDAutoImport openlsd.multiple.autoimport.LSDAutoImport
public class LSDAutoImport
Class to auto import files into DB and LSD using single file model Import while trying to limit the number of open connections (socket) for info or delete connections.
Field Summary |
---|
Fields inherited from class openlsd.appli.autoimport.LSDAutoImport |
---|
delay, globalfile |
Fields inherited from class openlsd.appli.autoimport.commonimport.LSDImportAbstract |
---|
admin, async, blockmode, countKO, countOK, date_debut, dbconns, dir1, doneQueue, errorList, ext1, extidb, extKO, extOK, extStop, file0, fileKO, filename2Out, fileOK, isCompressed, isSameLid, istesting, KO, lcd, lci, lcp, lcps, lid0, listFiles, listline, llc, lsdb, nbFile, nbthread, option, passwd, sameDbConnMyltithread, sameLegacy, sameLid, source2, targetIdip, todelete, todoQueue, todoQueueB, todoQueueBLocal, todoQueueLocal, todoQueues, todoQueuesB, use2Out |
Constructor Summary | |
---|---|
protected |
LSDAutoImport(LSDDbAdmin admin)
Create a LSDCheck from args |
protected |
LSDAutoImport(LSDLoadConfig llc)
Create a LSDCheck from args |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Run auto import |
boolean |
runImport()
Run import |
Methods inherited from class openlsd.appli.autoimport.LSDAutoImport |
---|
privateInitializeArgs |
Methods inherited from class openlsd.appli.autoimport.commonimport.LSDImportAbstract |
---|
errorFromPrepareImportQueue, finalizeAfterAutoImport, finalizeAfterImport, finalizeConnection, finalizeRegisterFile, finishAfterAutoImport, getClientPutInfo, getClientPutInfoFromIpPort, getIndexFromString, getIpPortC, getIpPortP, getLegacy, initConnection, initializeArgs, initOneFileOption, initOptions, initOptionsAuto, initRegisterFile, joinConnection, prepareImportQueue, registerFalseFile, registerFalseFile, registerTrueFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LSDAutoImport(LSDLoadConfig llc)
llc
- protected LSDAutoImport(LSDDbAdmin admin)
admin
- Method Detail |
---|
public static void main(java.lang.String[] args)
args
- with the config filename as first arg.
As second group of args:public boolean runImport()
runImport
in class LSDAutoImport
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |