Interface AutomationQueueCacheService
- All Known Implementing Classes:
AutomationQueueCacheServiceImpl
public interface AutomationQueueCacheService
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()Retrieves the age of the earliest unprocessed item from the automationQueue cacheRetrieves the created time of the earliest unprocessed item from the automationQueue cache.voidvoidUpdates the automationQueue cache with the created time and age of the earliest unprocessed item in the automation queue.
-
Method Details
-
updateCount
void updateCount() -
getCount
Long getCount() -
getAutomationQueueCountCache
-
updateEarliestUnprocessedItem
void updateEarliestUnprocessedItem()Updates the automationQueue cache with the created time and age of the earliest unprocessed item in the automation queue. If an error occurs during the update, the cache is updated with default values (-1). -
getEarliestUnprocessedItemAge
Long getEarliestUnprocessedItemAge()Retrieves the age of the earliest unprocessed item from the automationQueue cache- Returns:
- the age of the earliest unprocessed item in seconds.
-
getEarliestUnprocessedItemCreatedTime
Long getEarliestUnprocessedItemCreatedTime()Retrieves the created time of the earliest unprocessed item from the automationQueue cache.- Returns:
- the created time of the earliest unprocessed item in milliseconds since epoch.
-