public class BackendRequest<T extends io.searchbox.client.JestResult> extends Object
| Constructor and Description |
|---|
BackendRequest(io.searchbox.action.Action<T> action,
LuceneWork luceneWork,
String indexName,
IndexingMonitor indexingMonitor,
BackendRequestSuccessReporter<? super T> successReporter,
boolean refreshAfterWrite,
int... ignoredErrorStatuses) |
| Modifier and Type | Method and Description |
|---|---|
io.searchbox.action.Action<T> |
getAction() |
Set<Integer> |
getIgnoredErrorStatuses() |
IndexingMonitor |
getIndexingMonitor() |
String |
getIndexName() |
LuceneWork |
getLuceneWork()
Returns the original Lucene work from which this request was derived.
|
BackendRequestSuccessReporter<? super T> |
getSuccessReporter() |
boolean |
needsRefreshAfterWrite()
Whether performing an explicit index refresh after executing this action is needed or not.
|
String |
toString() |
public BackendRequest(io.searchbox.action.Action<T> action, LuceneWork luceneWork, String indexName, IndexingMonitor indexingMonitor, BackendRequestSuccessReporter<? super T> successReporter, boolean refreshAfterWrite, int... ignoredErrorStatuses)
public LuceneWork getLuceneWork()
public io.searchbox.action.Action<T> getAction()
public String getIndexName()
public IndexingMonitor getIndexingMonitor()
public BackendRequestSuccessReporter<? super T> getSuccessReporter()
public boolean needsRefreshAfterWrite()
Copyright © 2006–2016 Hibernate. All rights reserved.