public class SimpleDispatcher extends Object implements BitstreamDispatcher
| Modifier and Type | Field and Description |
|---|---|
protected MostRecentChecksumService |
checksumService
Access for bitstream information
|
protected Context |
context |
protected boolean |
loopContinuously
Should this dispatcher keep on dispatching around the collection?
|
protected Date |
processStartTime
Date this dispatcher started dispatching.
|
SENTINEL| Constructor and Description |
|---|
SimpleDispatcher(Context context,
Date startTime,
boolean looping)
Creates a new SimpleDispatcher.
|
protected boolean loopContinuously
protected Date processStartTime
protected MostRecentChecksumService checksumService
protected Context context
public SimpleDispatcher(Context context, Date startTime, boolean looping)
context - ContextstartTime - timestamp for beginning of checker processlooping - indicates whether checker should loop infinitely through
most_recent_checksum tablepublic Bitstream next() throws SQLException
next in interface BitstreamDispatcherSQLException - if database errorBitstreamDispatcher.next()Copyright © 2022 LYRASIS. All rights reserved.