Package lumis.service.search.popularity
Class PopularityClock
- java.lang.Object
-
- lumis.portal.service.GenericServiceClock
-
- lumis.service.search.popularity.PopularityClock
-
- All Implemented Interfaces:
IServiceClock
public class PopularityClock extends GenericServiceClock
Clock responsible for updating contents' popularities.- Since:
- 11.1.0
- Version:
- $Revision: 24260 $ $Date: 2020-12-02 19:10:55 -0300 (Wed, 02 Dec 2020) $
-
-
Field Summary
-
Fields inherited from interface lumis.portal.clock.IServiceClock
CLOCK_TICK_SERVICE, CLOCK_TICK_SERVICE_INSTANCE, CLOCK_TICK_SERVICE_INTERFACE, CLOCK_TICK_SERVICE_INTERFACE_INSTANCE
-
-
Constructor Summary
Constructors Constructor Description PopularityClock()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTick(SessionConfig sessionConfig, ClockConfig clockConfig)
Executes a clock tick.static void
updateContentPopularities()
Updates the contents' popularities in big data.-
Methods inherited from class lumis.portal.service.GenericServiceClock
getNextScheduleTime
-
-
-
-
Method Detail
-
doTick
public void doTick(SessionConfig sessionConfig, ClockConfig clockConfig) throws PortalException
Description copied from interface:IServiceClock
Executes a clock tick. This interface must be implemented by an object that handles clock ticks. Based on the service definition and/or the custom definition specified by the user this method will be called on regular intervals.- Parameters:
sessionConfig
- the user session information.clockConfig
- the clock.- Throws:
PortalException
-
updateContentPopularities
public static void updateContentPopularities() throws PortalException
Updates the contents' popularities in big data.- Throws:
PortalException
- Since:
- 11.1.0
-
-