Class OldActivityCleanerClock

  • All Implemented Interfaces:
    IServiceClock

    public class OldActivityCleanerClock
    extends GenericServiceClock
    Clock to remove old activities past the age limit specified by ActivityStreamConfig
    Since:
    8.2.0
    Version:
    $Revision: 18134 $ $Date: 2015-12-15 17:29:32 -0200 (Tue, 15 Dec 2015) $
    • Constructor Detail

      • OldActivityCleanerClock

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