Interface MassLoadingOptions


@Incubating public interface MassLoadingOptions
  • 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 to MassEntityLoader.load(List).
    • context

      <T> T context(Class<T> contextType)
      Gets context previously passed to MassIndexer.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.