Class IndexingResponse
- java.lang.Object
-
- com.algolia.search.models.indexing.IndexingResponse
-
- All Implemented Interfaces:
WaitableResponse,Serializable
- Direct Known Subclasses:
BatchResponse,ClearSynonymsResponse,CopyToResponse,DeleteResponse,SaveRuleResponse,SaveSynonymResponse,SetSettingsResponse,UpdateObjectResponse
public class IndexingResponse extends Object implements WaitableResponse, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexingResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetTaskID()IndexingResponsesetTaskID(Long taskID)voidsetWaitConsumer(Consumer<Long> waitConsumer)voidwaitTask()Wait for a task to complete before executing the next line of code, to synchronize index updates.
-
-
-
Method Detail
-
getTaskID
public Long getTaskID()
-
setTaskID
public IndexingResponse setTaskID(Long taskID)
-
waitTask
public void waitTask()
Description copied from interface:WaitableResponseWait for a task to complete before executing the next line of code, to synchronize index updates.- Specified by:
waitTaskin interfaceWaitableResponse
-
-