Package org.dspace.checker
Class CheckerConsumer
java.lang.Object
org.dspace.checker.CheckerConsumer
- All Implemented Interfaces:
Consumer
Class for removing Checker data for a Bitstreams based on deletion events.
- Version:
- $Revision$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConsume an eventvoidSignal that there are no more events queued in this event stream.voidFinish - free any allocated resources.voidInitialize - allocate any resources required to operate.
-
Field Details
-
checksumHistoryService
-
bitstreamService
-
-
Constructor Details
-
CheckerConsumer
public CheckerConsumer()
-
-
Method Details
-
initialize
Initialize - allocate any resources required to operate. Called at the start of ANY sequence of event consume() calls.- Specified by:
initializein interfaceConsumer- Throws:
Exception- if error
-
consume
Consume an event -
end
Signal that there are no more events queued in this event stream. -
finish
Finish - free any allocated resources. Called when consumer is being released
-