Class 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) $
    • Constructor Detail

      • PopularityClock

        public PopularityClock()
    • 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