openlsd.multiple.admin.commondelete.LSDDeleteAbstractML Class Reference
List of all members.
Detailed Description
Simple class that shared
common things and methods between deleters. ML Version.
- Author:
- Frederic BREGIER LGPL 2007
|
Public Member Functions |
| LSDDeleteAbstractML (LSDLoadConfig llc) |
| LSDDeleteAbstractML (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 | createRunningDeleteMT (ExecutorService executorService) |
void | run () |
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 Attributes |
Timestamp | opdate = new Timestamp(new Date().getTime()) |
Constructor & Destructor Documentation
openlsd.multiple.admin.commondelete.LSDDeleteAbstractML.LSDDeleteAbstractML |
( |
LSDLoadConfig |
llc |
) |
|
- Parameters:
-
| admin | |
| todoQueue | |
| doneQueue | |
| lcd | |
| ipport | |
| legacy | |
| lid | |
Member Function Documentation
boolean openlsd.multiple.admin.commondelete.LSDDeleteAbstractML.deleteDocument |
( |
ArrayList< String > |
erreurs |
) |
[protected] |
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.createRunningDeleteMT |
( |
ExecutorService |
executorService |
) |
[inherited] |
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
Timestamp for global operation
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/commondelete/LSDDeleteAbstractML.java