@DeclareRoles(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") public class ArchiveScheduler extends Object
The timer service checks all new Snapshot Event Log entries and pushes the entries into the Archive service via the Rest API. The default timeout for the timer service is 1 second but can be configured by the system property 'archive.service.interval'
| Constructor and Description |
|---|
ArchiveScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize ManagedScheduledExecutorService
|
void |
run()
This method is called by the ManagedScheduledExecutorService.
|
@PostConstruct public void init()
public void run()
Each eventLogEntry is cached in the eventCache. The cache is cleared from all eventLogEntries not part of the current collection. We can assume that the event was successfully processed by the ArchiveHandler
ArchiveExceptionCopyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.