|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.molgenis.omx.config.DataExplorerConfig
@Configuration @EnableScheduling @EnableAsync public class DataExplorerConfig
Exposes the DataSetsIndexer and schedules dataset indexing 4 am every night
| Constructor Summary | |
|---|---|
DataExplorerConfig()
|
|
| Method Summary | |
|---|---|
DataSetsIndexer |
dataSetsIndexer()
Get a reference to a DataSetsIndexer. |
void |
indexDataSets()
Indexes datasets at 4 am every night |
IndexingEventListener |
startUpIndexer()
Indexes not yet indexed DataSets at application startup, does not reindex already indexed DataSets (even not when there are chenges) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataExplorerConfig()
| Method Detail |
|---|
@Bean public DataSetsIndexer dataSetsIndexer()
@Bean public IndexingEventListener startUpIndexer()
@Scheduled(cron="0 0 4 * * ?")
public void indexDataSets()
throws DatabaseException,
TableException
DatabaseException
TableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||