Пример #1
0
 /** Clean-up code which is executed after each {@link Job#exec()} call in any case (normal/exceptional). */
 protected void cleanup() {
   // Clean-up global list of temporary vectors
   Futures fs = new Futures();
   cleanupTrash(_gVecTrash, fs);
   if (!_lVecTrash.isEmpty()) cleanupTrash(_lVecTrash, fs);
   fs.blockForPending();
 }
Пример #2
0
 /** User call which empty local trash of vectors. */
 protected final void emptyLTrash() {
   if (_lVecTrash.isEmpty()) return;
   Futures fs = new Futures();
   cleanupTrash(_lVecTrash, fs);
   fs.blockForPending();
 }