Package io.goobi.viewer.model.job.mq
Class UpdateUploadJobsHandler
java.lang.Object
io.goobi.viewer.model.job.mq.UpdateUploadJobsHandler
- All Implemented Interfaces:
MessageHandler<MessageStatus>
Message handler that polls all waiting user upload jobs and updates their status based on the current indexing state in Solr.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ViewerMessage ticket, MessageQueueManager queueManager) Call this method to execute the ticket.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.goobi.viewer.controller.mq.MessageHandler
call, onStartup
-
Constructor Details
-
UpdateUploadJobsHandler
public UpdateUploadJobsHandler()
-
-
Method Details
-
call
Description copied from interface:MessageHandlerCall this method to execute the ticket.- Specified by:
callin interfaceMessageHandler<MessageStatus>- Parameters:
ticket- The ticket to handlequeueManager- reference to to manage the queue- Returns:
- V
-
getMessageHandlerName
- Specified by:
getMessageHandlerNamein interfaceMessageHandler<MessageStatus>
-