Interface AutomaticIndexingSynchronizationStrategy
-
public interface AutomaticIndexingSynchronizationStrategy
Determines how the thread will block upon committing a transaction where indexed entities were modified.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(AutomaticIndexingSynchronizationConfigurationContext context)
static AutomaticIndexingSynchronizationStrategy
async()
static AutomaticIndexingSynchronizationStrategy
readSync()
static AutomaticIndexingSynchronizationStrategy
sync()
static AutomaticIndexingSynchronizationStrategy
writeSync()
-
-
-
Method Detail
-
apply
void apply(AutomaticIndexingSynchronizationConfigurationContext context)
-
async
static AutomaticIndexingSynchronizationStrategy async()
- Returns:
- A strategy that only waits for index changes to be queued in the backend. See the reference documentation for details.
-
writeSync
static AutomaticIndexingSynchronizationStrategy writeSync()
- Returns:
- A strategy that waits for index changes to be queued and applied, forces a commit, and waits for the commit to complete. See the reference documentation for details.
-
readSync
static AutomaticIndexingSynchronizationStrategy readSync()
- Returns:
- A strategy that waits for index changes to be queued and applied, forces a refresh, and waits for the refresh to complete. See the reference documentation for details.
-
sync
static AutomaticIndexingSynchronizationStrategy sync()
- Returns:
- A strategy that waits for index changes to be queued and applied, forces a commit and a refresh, and waits for the commit and refresh to complete. See the reference documentation for details.
-
-