Interface MassLoadingOptions
-
Method Summary
Modifier and TypeMethodDescriptionint
<T> T
Gets context previously passed toMassIndexer.context(Class, Object)
.
-
Method Details
-
batchSize
int batchSize()- Returns:
- How many entities to load and index in each batch.
Defines the maximum expected size of each list of IDs
loaded by
MassIdentifierLoader.loadNext()
and passed toMassEntityLoader.load(List)
.
-
context
Gets context previously passed toMassIndexer.context(Class, Object)
.- Type Parameters:
T
- The context type.- Parameters:
contextType
- The context type.- Returns:
- The context, i.e. an instance of the given type, or
null
if no context was set for this type.
-