openlsd.appli.admin
Class LSDDelete

java.lang.Object
  extended by openlsd.appli.admin.commondelete.LSDDeleteAbstract
      extended by openlsd.appli.admin.LSDDelete
All Implemented Interfaces:
java.lang.Runnable

public class LSDDelete
extends LSDDeleteAbstract

Class to delete one file from DB and LSD

Author:
Frederic Bregier LGPL

Field Summary
 
Fields inherited from class openlsd.appli.admin.commondelete.LSDDeleteAbstract
admin, admins, document, doneQueue, ipportProt, lcd, lcds, legacy, lid, lsdb, todoQueue
 
Constructor Summary
LSDDelete(LSDDbAdmin admin, java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> todoQueue, java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> doneQueue, LSDClientDelete lcd, LSDDbIpPort ipport, LSDDbLegacy legacy, long lid)
           
 
Method Summary
 void createRunningDeleteMT(java.util.concurrent.ExecutorService executorService)
          (non-Javadoc)
static void main(java.lang.String[] args)
          Delete files from lid and a file containing references
 
Methods inherited from class openlsd.appli.admin.commondelete.LSDDeleteAbstract
deleteDocument, initDelete, initDeleteMT, run, runDelete, runDeleteMT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSDDelete

public LSDDelete(LSDDbAdmin admin,
                 java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> todoQueue,
                 java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> doneQueue,
                 LSDClientDelete lcd,
                 LSDDbIpPort ipport,
                 LSDDbLegacy legacy,
                 long lid)
Parameters:
admin -
todoQueue -
doneQueue -
lcd -
ipport -
legacy -
lid -
Method Detail

main

public static void main(java.lang.String[] args)
Delete files from lid and a file containing references

Parameters:
args - containing "configfilename [-nbthread nb] lid filename"

createRunningDeleteMT

public void createRunningDeleteMT(java.util.concurrent.ExecutorService executorService)
(non-Javadoc)

Overrides:
createRunningDeleteMT in class LSDDeleteAbstract
See Also:
LSDDeleteAbstract.createRunningDeleteMT(java.util.concurrent.ExecutorService)