public class HarvestSchedulingServiceImpl extends Object implements HarvestSchedulingService
| Modifier and Type | Field and Description |
|---|---|
protected HarvestedCollectionService |
harvestedCollectionService |
protected HarvestScheduler |
harvester |
protected HarvestScheduler |
harvestScheduler |
protected Thread |
mainHarvestThread |
| Modifier | Constructor and Description |
|---|---|
protected |
HarvestSchedulingServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
pauseScheduler()
Pause an active harvest scheduler.
|
void |
resetScheduler() |
void |
resumeScheduler()
Resume a paused harvest scheduler.
|
void |
startNewScheduler()
Start harvest scheduler.
|
void |
stopScheduler()
Stop an active harvest scheduler.
|
protected HarvestScheduler harvester
protected Thread mainHarvestThread
protected HarvestScheduler harvestScheduler
@Autowired(required=true) protected HarvestedCollectionService harvestedCollectionService
public void startNewScheduler()
throws SQLException,
AuthorizeException
HarvestSchedulingServicestartNewScheduler in interface HarvestSchedulingServiceSQLExceptionAuthorizeExceptionpublic void stopScheduler()
throws SQLException,
AuthorizeException
HarvestSchedulingServicestopScheduler in interface HarvestSchedulingServiceSQLExceptionAuthorizeExceptionpublic void pauseScheduler()
throws SQLException,
AuthorizeException
HarvestSchedulingServicepauseScheduler in interface HarvestSchedulingServiceSQLExceptionAuthorizeExceptionpublic void resumeScheduler()
throws SQLException,
AuthorizeException
HarvestSchedulingServiceresumeScheduler in interface HarvestSchedulingServiceSQLExceptionAuthorizeExceptionpublic void resetScheduler()
throws SQLException,
AuthorizeException,
IOException
resetScheduler in interface HarvestSchedulingServiceSQLExceptionAuthorizeExceptionIOExceptionCopyright © 2022 LYRASIS. All rights reserved.