Class CopyResponse
- java.lang.Object
-
- com.algolia.search.models.indexing.CopyResponse
-
- All Implemented Interfaces:
WaitableResponse,Serializable
public class CopyResponse extends Object implements Serializable, WaitableResponse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CopyResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIndexName()LonggetTaskID()OffsetDateTimegetUpdatedAt()CopyResponsesetIndexName(String indexName)CopyResponsesetTaskID(Long taskID)CopyResponsesetUpdatedAt(OffsetDateTime updatedAt)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
-
getTaskID
public Long getTaskID()
-
setTaskID
public CopyResponse setTaskID(Long taskID)
-
setWaitConsumer
public void setWaitConsumer(BiConsumer<String,Long> waitConsumer)
-
getUpdatedAt
public OffsetDateTime getUpdatedAt()
-
setUpdatedAt
public CopyResponse setUpdatedAt(OffsetDateTime updatedAt)
-
getIndexName
public String getIndexName()
-
setIndexName
public CopyResponse setIndexName(String indexName)
-
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
-
-