org.hibernate.search.elasticsearch.client.impl.ExecutableRequest Maven / Gradle / Ivy
/*
* 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.elasticsearch.client.impl;
import java.util.Set;
/**
* A request which is executed against the Elasticsarch backend. May either be backed by a bulk request or by a single
* request. Allows for uniform handling of these two cases.
*/
public interface ExecutableRequest {
void execute();
int getSize();
/**
* Returns the names of the indexes touched by this request.
*/
Set getTouchedIndexes();
/**
* Returns the names of the indexes which need refreshing after executing this request.
*/
Set getIndexesNeedingRefresh();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy