openlsd.multiple.admin.LSDDeleteML Class Reference
List of all members.
Detailed Description
Class to delete one file from DB and LSD. ML Version.
- Author:
- Frederic Bregier LGPL
|
Public Member Functions |
void | createRunningDeleteMT (ExecutorService executorService) |
| LSDDeleteML (LSDDbAdmin admin, ConcurrentLinkedQueue< LSDExtQueueMember > todoQueue, ConcurrentLinkedQueue< LSDExtQueueMember > doneQueue, LSDClientDelete lcd, LSDDbIpPort ipport, LSDDbLegacy legacy, long lid) |
int | initDelete (String[]args, int curargs, boolean keepalived) |
int | initDeleteMT (String[]args, int curargs, boolean keepalived) |
boolean | runDelete (String filepath) |
boolean | runDeleteMT (String filepath) |
void | run () |
Static Public Member Functions |
static void | main (String[] args) |
Protected Member Functions |
boolean | deleteDocument (ArrayList< String > erreurs) |
Protected Attributes |
ArrayList< LSDDbIpPort > | listIpPort = null |
LSDDbAdmin | admin = null |
LSDDbLegacy | legacy = null |
LSDExtDbDocument | document = null |
long | lid = LSDConstants.invalide_idx |
LSDBusiness | lsdb = null |
LSDDbIpPort | ipportProt = null |
LSDClientDelete | lcd = null |
LSDClientDelete[] | lcds = null |
LSDDbAdmin[] | admins = null |
ConcurrentLinkedQueue
< LSDExtQueueMember > | todoQueue = null |
ConcurrentLinkedQueue
< LSDExtQueueMember > | doneQueue = null |
Private Member Functions |
| LSDDeleteML (LSDLoadConfig llc) |
Constructor & Destructor Documentation
openlsd.multiple.admin.LSDDeleteML.LSDDeleteML |
( |
LSDLoadConfig |
llc |
) |
[private] |
- Parameters:
-
| admin | |
| todoQueue | |
| doneQueue | |
| lcd | |
| ipport | |
| legacy | |
| lid | |
Member Function Documentation
static void openlsd.multiple.admin.LSDDeleteML.main |
( |
String[] |
args |
) |
[static] |
Delete files from lid and a file containing references
- Parameters:
-
| args | containing "configfilename [-idip idip] [-nbthread nb] lid filename"
'-idip' idip is optional and set the OpenLSD Server Protected id to use as main |
void openlsd.multiple.admin.LSDDeleteML.createRunningDeleteMT |
( |
ExecutorService |
executorService |
) |
|
boolean openlsd.multiple.admin.commondelete.LSDDeleteAbstractML.deleteDocument |
( |
ArrayList< String > |
erreurs |
) |
[protected, inherited] |
int openlsd.appli.admin.commondelete.LSDDeleteAbstract.initDelete |
( |
String[] |
args, |
|
|
int |
curargs, |
|
|
boolean |
keepalived | |
|
) |
| | [inherited] |
Init delete context except file listing itself
- Parameters:
-
- Returns:
- Next curargs or -1 if in error
int openlsd.appli.admin.commondelete.LSDDeleteAbstract.initDeleteMT |
( |
String[] |
args, |
|
|
int |
curargs, |
|
|
boolean |
keepalived | |
|
) |
| | [inherited] |
Init delete context except file listing itself, MultiThread version
- Parameters:
-
- Returns:
- Next curargs or -1 if in error
boolean openlsd.appli.admin.commondelete.LSDDeleteAbstract.runDelete |
( |
String |
filepath |
) |
[inherited] |
Run delete from the file containing list of id Business
- Parameters:
-
- Returns:
- True if OK, else False
boolean openlsd.appli.admin.commondelete.LSDDeleteAbstract.runDeleteMT |
( |
String |
filepath |
) |
[inherited] |
Run delete from the file containing list of id Business, MultiThread version
- Parameters:
-
- Returns:
- True if OK, else False
void openlsd.appli.admin.commondelete.LSDDeleteAbstract.run |
( |
|
) |
[inherited] |
Run the delete operation on todoQueue, MultiThread version
- See also:
- java.lang.Runnable.run()
Member Data Documentation
List of IpPort for all documents to delete
String identifying one specific document in one legacy : Business object
Array of Client Delete Object
The documentation for this class was generated from the following file:
- OpenLSD/Multiple/openlsd/multiple/admin/LSDDeleteML.java