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