Changeset 3921 for OAIHarvester
- Timestamp:
- 10/31/13 10:04:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OAIHarvester/trunk/OAIHarvester/src/main/java/eu/clarin/cmdi/oai/harvester/impl/SimpleHarvester.java
r3011 r3921 62 62 try { 63 63 logger.debug("{}: ({}) waiting {} ...", 64 job.getId(), job.getNetworkRetryCount(), delay); 64 job.getId(), job.getNetworkRetryCount(), delay); 65 65 /* add a few milliseconds, so we do not loop */ 66 66 Thread.sleep(delay + 25); … … 70 70 } // while (wait loop) 71 71 } // while 72 73 synchronized (job) { 74 job.notifyAll(); 75 } // synchronized (job) 72 76 } 73 77 … … 75 79 @Override 76 80 void doCancelJob(HarvestJobImpl job) throws HarvesterException { 77 throw new HarvesterException("cancel() is not supported");78 81 } 79 82 … … 81 84 @Override 82 85 protected HarvestJob doFindJob(long id) throws HarvesterException { 83 throw new HarvesterException("findJob() is not supported");86 return null; 84 87 } 85 88
Note: See TracChangeset
for help on using the changeset viewer.