Package eu.dnetlib.app.directindex.tasks
Class ScheduledActions
java.lang.Object
eu.dnetlib.app.directindex.tasks.ScheduledActions
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ScheduledActions
public ScheduledActions()
-
-
Method Details
-
indexRecords
@Scheduled(initialDelay=1L, fixedDelayString="${dnet.directindex.scheduling.upsert.interval}", timeUnit=MINUTES) public void indexRecords() throws InterruptedException- Throws:
InterruptedException
-
deleteRecords
@Scheduled(initialDelay=5L, fixedDelayString="${dnet.directindex.scheduling.delete.interval}", timeUnit=MINUTES) public void deleteRecords() -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-