@Configuration @EnableScheduling @EnableAsync public class DataExplorerConfig extends Object
| Constructor and Description |
|---|
DataExplorerConfig() |
| Modifier and Type | Method and Description |
|---|---|
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)
|
@Bean public DataSetsIndexer dataSetsIndexer()
@Bean public IndexingEventListener startUpIndexer()
@Scheduled(cron="0 0 4 * * ?")
public void indexDataSets()
throws DatabaseException
DatabaseExceptionCopyright © 2013. All Rights Reserved.