org.hibernate.search.batchindexing.spi.MassIndexerWithTenant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-orm Show documentation
Show all versions of hibernate-search-orm Show documentation
Hibernate Search integration with Hibernate Core
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.batchindexing.spi;
import org.hibernate.search.MassIndexer;
/**
* A {@link MassIndexer} that can be assigned to a tenant in architectures with multi-tenancy.
*
* @author Davide D'Alto
*/
public interface MassIndexerWithTenant extends MassIndexer {
/**
* Set the tenant that is associated to this {@link MassIndexer}.
*
* @param tenantIdentifier the identifier of the tenant associated this {@link MassIndexer}
* @return this for method chaining
*/
MassIndexerWithTenant tenantIdentifier(String tenantIdentifier);
}