org.hibernate.search.batchindexing.spi

## Interface MassIndexerWithTenant

- All Superinterfaces:
    MassIndexer
  All Known Implementing Classes:
    MassIndexerImpl

      public interface MassIndexerWithTenant
      extends MassIndexer

  A `MassIndexer` that can be assigned to a tenant in architectures with multi-tenancy.
  Author:
    Davide D'Alto

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `MassIndexerWithTenant` | `tenantIdentifier(String tenantIdentifier)` Set the tenant that is associated to this `MassIndexer`.

    - ### Methods inherited from interface org.hibernate.search.MassIndexer

      `batchSizeToLoadObjects, cacheMode, idFetchSize, limitIndexedObjectsTo, optimizeAfterPurge, optimizeOnFinish, progressMonitor, purgeAllOnStart, start, startAndWait, threadsForSubsequentFetching, threadsToLoadObjects, transactionTimeout, typesToIndexInParallel`

- - ### Method Detail

    - #### tenantIdentifier

          MassIndexerWithTenant tenantIdentifier(String tenantIdentifier)

      Set the tenant that is associated to this `MassIndexer`.
      Parameters:
        `tenantIdentifier` - the identifier of the tenant associated this `MassIndexer`
      Returns:
        `this` for method chaining

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved