All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.batchindexing.spi.MassIndexerWithTenant Maven / Gradle / Ivy

There is a newer version: 5.11.12.Final
Show newest version
/*
 * 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy