public interface ReindexingStrategy
void beganReindexing()
and void finishedReindexing()
methods? For
example, for UI interaction.
You can decide your application's re-indexing policy for example like this:
mainModule.addServices(ReindexingStrategy.class).withMixins(ReindexingStrategy.AlwaysNeed.class);
. This way your application will always re-index all entity store data at startup.Modifier and Type | Interface and Description |
---|---|
static class |
ReindexingStrategy.AlwaysNeed
The re-indexing strategy which ALWAYS re-indexes everything.
|
static class |
ReindexingStrategy.NeedOnChange
The re-indexing strategy, which re-indexes everything when application version changes.
|
static class |
ReindexingStrategy.NeverNeed
The re-indexing strategy which NEVER re-indexes anything.
|
Modifier and Type | Method and Description |
---|---|
boolean |
reindexingNeeded(String dbAppVersion,
String currentAppVersion) |