public interface SyncTasks<T> extends SyncBaseIndex<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
waitTask(Long taskID)
Wait for the completion of a task, for 100ms
|
default void |
waitTask(Long taskID,
RequestOptions requestOptions)
Wait for the completion of a task, for 100ms
|
default void |
waitTask(Task task)
Wait for the completion of a task, for 100ms
|
default void |
waitTask(Task task,
long timeToWait)
Wait for the completion of a task
|
default void |
waitTask(Task task,
long timeToWait,
RequestOptions requestOptions)
Wait for the completion of a task
|
default void |
waitTask(Task task,
RequestOptions requestOptions)
Wait for the completion of a task, for 100ms
|
getApiClientgetKlass, getNamedefault void waitTask(@Nonnull Task task, long timeToWait) throws AlgoliaException
task - task to wait fortimeToWait - the time to wait in millisecondsAlgoliaExceptiondefault void waitTask(@Nonnull Task task, long timeToWait, @Nonnull RequestOptions requestOptions) throws AlgoliaException
task - task to wait fortimeToWait - the time to wait in millisecondsrequestOptions - Options to pass to this requestAlgoliaExceptiondefault void waitTask(@Nonnull Task task) throws AlgoliaException
task - task to wait forAlgoliaExceptiondefault void waitTask(@Nonnull Long taskID) throws AlgoliaException
taskID - ID of the task to wait forAlgoliaExceptiondefault void waitTask(@Nonnull Long taskID, @Nonnull RequestOptions requestOptions) throws AlgoliaException
taskID - ID of the task to wait forrequestOptions - Options to pass to this requestAlgoliaExceptiondefault void waitTask(@Nonnull Task task, @Nonnull RequestOptions requestOptions) throws AlgoliaException
task - task to wait forrequestOptions - Options to pass to this requestAlgoliaExceptionCopyright © 2018. All rights reserved.