@Component
public class DhxServerScheduler
extends java.lang.Object
Constructor and Description |
---|
DhxServerScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
deleteOldDocuments()
Deletes documents periodically.
|
void |
sendDvkDocuments()
Sends documents periodically.
|
@Scheduled(cron="${dhx.server.send-to-dhx}") public void sendDvkDocuments() throws ee.ria.dhx.exception.DhxException
ee.ria.dhx.exception.DhxException
- - thrown if error occures while sending document@Scheduled(cron="${dhx.server.delete-old-documents-freq}") public void deleteOldDocuments() throws ee.ria.dhx.exception.DhxException
ee.ria.dhx.exception.DhxException
- - thrown if error occures while deleteing document