Class PopularityClock

  • All Implemented Interfaces:
    IServiceClock

    public class PopularityClock
    extends GenericServiceClock
    Clock responsible for updating contents' popularities.
    Since:
    11.1.0
    Version:
    $Revision: 26460 $ $Date: 2024-06-24 11:49:44 -0300 (Mon, 24 Jun 2024) $
    • 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