@DeclareRoles(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") public class SolrAutoFlushScheduler extends Object
updateIndex().
The ManagedScheduledExecutorService can be configured with the following properties:
SolrUpdateService| Modifier and Type | Field and Description |
|---|---|
static String |
SOLR_AUTOFLUSH_DISABLED |
static String |
SOLR_AUTOFLUSH_INITIALDELAY |
static String |
SOLR_AUTOFLUSH_INTERVAL |
| Constructor and Description |
|---|
SolrAutoFlushScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
This method start the ManagedScheduledExecutorService to flush the index event log on a
schedule base.
|
void |
run()
The method delecates the event processing to the solrUpdateService
|
public static final String SOLR_AUTOFLUSH_DISABLED
public static final String SOLR_AUTOFLUSH_INTERVAL
public static final String SOLR_AUTOFLUSH_INITIALDELAY
@PostConstruct public void init()
public void run()
Copyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.