Package io.goobi.viewer.model.job.mq
Class GeoMapUpdateHandler
java.lang.Object
io.goobi.viewer.model.job.mq.GeoMapUpdateHandler
- All Implemented Interfaces:
MessageHandler<MessageStatus>
Message handler that refreshes geo map feature sets by reloading their Solr-based data and updating the application cache.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ViewerMessage ticket, MessageQueueManager queueManager) Call this method to execute the ticket.static longstatic booleanstatic voidupdateMapInCache(GeoMap geomap) 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
-
GeoMapUpdateHandler
public GeoMapUpdateHandler()
-
-
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
-
updateMapInCache
- Throws:
PresentationException
-
getMessageHandlerName
- Specified by:
getMessageHandlerNamein interfaceMessageHandler<MessageStatus>
-
shouldUpdateGeomaps
- Throws:
DAOException
-
getGeoMapTimeToLive
public static long getGeoMapTimeToLive()
-