public class CopyResponse extends Object implements Serializable, WaitableResponse
| Constructor and Description |
|---|
CopyResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIndexName() |
Long |
getTaskID() |
OffsetDateTime |
getUpdatedAt() |
CopyResponse |
setIndexName(String indexName) |
CopyResponse |
setTaskID(Long taskID) |
CopyResponse |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setWaitConsumer(BiConsumer<String,Long> waitConsumer) |
void |
waitTask()
Wait for a task to complete before executing the next line of code, to synchronize index
updates.
|
public Long getTaskID()
public CopyResponse setTaskID(Long taskID)
public void setWaitConsumer(BiConsumer<String,Long> waitConsumer)
public OffsetDateTime getUpdatedAt()
public CopyResponse setUpdatedAt(OffsetDateTime updatedAt)
public String getIndexName()
public CopyResponse setIndexName(String indexName)
public void waitTask()
WaitableResponsewaitTask in interface WaitableResponseCopyright © 2019. All rights reserved.