Package lumis.portal.service
Class GenericServiceClock
- java.lang.Object
-
- lumis.portal.service.GenericServiceClock
-
- All Implemented Interfaces:
IServiceClock
- Direct Known Subclasses:
ApmGlobalCollectorClock
,AuditEntryCleanerClock
,ChatClock
,ClearImageEditionClock
,ClearOrphanContentExperiments
,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="16.1", sinceVersion="4.0") public abstract class GenericServiceClock extends java.lang.Object implements IServiceClock
Generic implementation of theIServiceClock
interface.Implements the
getNextScheduleTime(SessionConfig, ClockConfig, ITransaction)
method of the IServiceClock interface. It obeys to the configuration values specified in theClockConfig
or, if there is anEnvironmentProperty
changing the values of theClockConfig
in a service, so it obeys the new values as long as the property exist- Since:
- 4.0.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
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 java.util.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 java.util.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
-
-