public interface IClockManagerSPI extends IClockManager
Modifier and Type | Method and Description |
---|---|
Collection<ClockConfig> |
getDisabledClocks(ITransaction transaction)
Get disabled clocks.
|
Collection<ClockConfig> |
getRunningClocks(long timeSpent,
ITransaction transaction)
Get clocks running longer than a specific time in milliseconds.
|
Collection<ClockConfig> |
getRunningClocksInHalfMaxRunTime(ITransaction transaction)
Get clocks running longer than half of its configured maximum run time.
|
add, addOrUpdate, checkSchedule, delete, disable, enable, executeSchedule, executeSchedule, get, getClockIdsByServiceId, isPortalClockRunning, setRunning, update
Collection<ClockConfig> getRunningClocks(long timeSpent, ITransaction transaction) throws PortalException
timeSpent
- minimum time in milliseconds that the clock has been running.transaction
- transaction for persistence access.PortalException
Collection<ClockConfig> getRunningClocksInHalfMaxRunTime(ITransaction transaction) throws PortalException
transaction
- transaction for persistence access.PortalException
Collection<ClockConfig> getDisabledClocks(ITransaction transaction) throws PortalException
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.