|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.appli.autoimport.commonimport.LSDImportFile
public class LSDImportFile
Class to really import files into LSD and DB with a physical access to the file for the LSD server
Field Summary | |
---|---|
protected LSDDbAdmin |
admin
DB Admin object |
protected java.io.File |
file
File to import |
protected boolean |
isBatch
Is this import done in Batch mode |
protected LSDCommonFunctions |
lcf
Common Functions Object |
protected java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> |
queue
Queue of Member to import |
Constructor Summary | |
---|---|
LSDImportFile(LSDDbAdmin admin,
java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> queue,
java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> result,
boolean isBatch)
Create an ImportFile Thread Runner from DB, RunQueue and ResultQueue |
Method Summary | |
---|---|
protected boolean |
executeImport(LSDExtQueueMember member)
Run the import of one file from the Run Queue and put the result in the Done Queue |
void |
run()
Run the import of all files from the Run Queue and put the result in the Done Queue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> queue
protected LSDDbAdmin admin
protected java.io.File file
protected boolean isBatch
protected LSDCommonFunctions lcf
Constructor Detail |
---|
public LSDImportFile(LSDDbAdmin admin, java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> queue, java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> result, boolean isBatch)
admin
- queue
- result
- isBatch
- Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
protected boolean executeImport(LSDExtQueueMember member)
member
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |