org.elasticsearch.action.admin.indices.recovery.RecoveryRequestBuilder Java Examples

The following examples show how to use org.elasticsearch.action.admin.indices.recovery.RecoveryRequestBuilder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractClient.java    From Elasticsearch with Apache License 2.0 4 votes vote down vote up
@Override
public RecoveryRequestBuilder prepareRecoveries(String... indices) {
    return new RecoveryRequestBuilder(this, RecoveryAction.INSTANCE).setIndices(indices);
}
 
Example #2
Source File: InternalEsClient.java    From io with Apache License 2.0 4 votes vote down vote up
/**
 * インデックスステータスを取得する.
 * @return 非同期応答
 */
public ActionFuture<RecoveryResponse> indicesStatus() {
	RecoveryRequestBuilder cirb =
            new RecoveryRequestBuilder(esTransportClient.admin().indices(), RecoveryAction.INSTANCE);
    return cirb.execute();
}
 
Example #3
Source File: IndicesAdminClient.java    From Elasticsearch with Apache License 2.0 2 votes vote down vote up
/**
 * Indices recoveries
 */
RecoveryRequestBuilder prepareRecoveries(String... indices);