Package io.goobi.viewer.model.job.mq
Class PurgeExpiredDownloadsHandler
java.lang.Object
io.goobi.viewer.model.job.mq.PurgeExpiredDownloadsHandler
- All Implemented Interfaces:
MessageHandler<MessageStatus>
Message handler that removes all expired download access tickets from the database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ViewerMessage message, 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
-
PurgeExpiredDownloadsHandler
public PurgeExpiredDownloadsHandler()
-
-
Method Details
-
call
Description copied from interface:MessageHandlerCall this method to execute the ticket.- Specified by:
callin interfaceMessageHandler<MessageStatus>- Parameters:
message- The ticket to handlequeueManager- reference to to manage the queue- Returns:
- V
-
getMessageHandlerName
- Specified by:
getMessageHandlerNamein interfaceMessageHandler<MessageStatus>
-