Package lumis.portal.service
Class GenericServiceClock
- java.lang.Object
-
- lumis.portal.service.GenericServiceClock
-
- All Implemented Interfaces:
IServiceClock
- Direct Known Subclasses:
ApmGlobalCollectorClock
,AuditEntryCleanerClock
,ChatClock
,ClearImageEditionClock
,ContentClock
,ContentVersionCleanerClock
,DeleteCreatedOrphanInterfaceInstances
,DeleteExpiredDurableMessagesClock
,DeleteOrphanWidgetInstanceHolders
,DeleteUnusedHtmlFieldWidgetInstance
,ImportPrincipalClock
,JourneyClearAbandonedInstancesClock
,LockClock
,MailMarketingClock
,MaxMindDBUpdateClock
,MonitorCleanupClock
,NewsletterClock
,OldActivityCleanerClock
,PageCacheCleanupClock
,PopularityClock
,ResumeFlowClock
,SendDashboardEmailClock
,SendMailClock
,SessionClock
,SitemapClock
,UnusedTagsCleanerClock
,UpgradeCheckClock
,UploadTempFilesDeleteClock
,UserSegmentationGroupGenerationClock
@StableMinor(version="14.2", sinceVersion="4.0") public abstract class GenericServiceClock extends Object implements IServiceClock
Generic implementation of theIServiceClock
interface.Implements the
getNextScheduleTime(SessionConfig, ClockConfig, ITransaction)
method of the IServiceClock interface, so that it obeys to the configuration values specified in theClockConfig
.- Since:
- 4.0.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
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 GenericServiceClock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getNextScheduleTime(SessionConfig sessionConfig, ClockConfig clockConfig, ITransaction transaction)
Returns the scheduled date-time for the next execution of a clock.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.clock.IServiceClock
doTick
-
-
-
-
Method Detail
-
getNextScheduleTime
public Date getNextScheduleTime(SessionConfig sessionConfig, ClockConfig clockConfig, ITransaction transaction) throws ServiceException, PortalException
Description copied from interface:IServiceClock
Returns the scheduled date-time for the next execution of a clock.- Specified by:
getNextScheduleTime
in interfaceIServiceClock
- Parameters:
sessionConfig
- the user session information.clockConfig
- the clock.transaction
- the transaction for persistence access.- Returns:
- the date-time for next scheduled execution.
- Throws:
ServiceException
PortalException
-
-