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.0", 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: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
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
-
-