Class MultipleIndexBatchIndexingResponse
- java.lang.Object
-
- com.algolia.search.models.indexing.MultipleIndexBatchIndexingResponse
-
- All Implemented Interfaces:
WaitableResponse,Serializable
public class MultipleIndexBatchIndexingResponse extends Object implements Serializable, WaitableResponse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultipleIndexBatchIndexingResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getObjectIDs()Map<String,Long>getTaskID()MultipleIndexBatchIndexingResponsesetObjectIDs(List<String> objectIDs)MultipleIndexBatchIndexingResponsesetTaskID(Map<String,Long> taskID)voidsetWaitConsumer(BiConsumer<String,Long> waitConsumer)voidwaitTask()Wait for a task to complete before executing the next line of code, to synchronize index updates.
-
-
-
Method Detail
-
setObjectIDs
public MultipleIndexBatchIndexingResponse setObjectIDs(List<String> objectIDs)
-
setTaskID
public MultipleIndexBatchIndexingResponse setTaskID(Map<String,Long> taskID)
-
setWaitConsumer
public void setWaitConsumer(BiConsumer<String,Long> waitConsumer)
-
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
-
-