Interface MessageSearchResponse.NotReady

Enclosing interface:
MessageSearchResponse

public static interface MessageSearchResponse.NotReady
Represents a response indicating the search index is not yet ready.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The number of documents that has been indexed thus far.
    The delay after which you should retry the message search.
  • Method Details

    • getDocumentsIndexed

      int getDocumentsIndexed()
      The number of documents that has been indexed thus far.
      Returns:
      Number of currently indexed documents
    • getRetryAfter

      @Nonnull Duration getRetryAfter()
      The delay after which you should retry the message search.
      If the value is zero, you should retry the request after a short delay.
      Returns:
      Delay before retrying the request