Revision 7805
Added by Jing Tao almost 11 years ago
IndexEventLog.java | ||
---|---|---|
51 | 51 |
* @return |
52 | 52 |
* @throws IndexEventLogException |
53 | 53 |
*/ |
54 |
public List<IndexEvent> getEvents(int type, Identifier pid, boolean archvied, Date start, Date end) throws IndexEventLogException;
|
|
54 |
public List<IndexEvent> getEvents(int type, Identifier pid, Date start, Date end) throws IndexEventLogException; |
|
55 | 55 |
|
56 | 56 |
/** |
57 |
* Set the event with the specified serial number to be archived |
|
58 |
* @param serialNumber |
|
57 |
* Get the list of identifiers which were failed to build the solr index since the |
|
58 |
* previous timed indexing (including the ones in the timed indexing). |
|
59 |
* @return the list of failure identifiers. The null will be returned if no failure. |
|
59 | 60 |
*/ |
60 |
public void setArchived(long serialNumber) throws IndexEventLogException;
|
|
61 |
public List<Identifier> getFailedPids() throws IndexEventLogException;
|
|
61 | 62 |
|
63 |
|
|
62 | 64 |
/** |
63 |
* Set the all events with the specified identifier to be archived |
|
64 |
* @param pid |
|
65 |
* Get the latest SystemMetadata modification Date of the objects that were built |
|
66 |
* the solr index during the previous timed indexing process. |
|
67 |
* @return the date. The null will be returned if there is no such date. |
|
68 |
* @throws IndexEventLogException |
|
65 | 69 |
*/ |
66 |
public void setArchived(Identifier pid) throws IndexEventLogException; |
|
70 |
public Date getLastProcessDate() throws IndexEventLogException; |
|
71 |
|
|
72 |
|
|
73 |
/** |
|
74 |
* Set the SystemMetadata modification Date of the objects that were built |
|
75 |
* the solr index during the previous timed indexing process. |
|
76 |
* @throws IndexEventLogException |
|
77 |
*/ |
|
78 |
public void setLastProcessDate(Date date) throws IndexEventLogException; |
|
79 |
|
|
67 | 80 |
} |
Also available in: Unified diff
Add set and get the lastprocessedDate in the IndexEventLog.
Remove the code to write the successful event.