Class ClearScrollResponse

    • Constructor Detail

      • ClearScrollResponse

        public ClearScrollResponse​(boolean succeeded,
                                   int numFreed)
      • ClearScrollResponse

        public ClearScrollResponse​(StreamInput in)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • isSucceeded

        public boolean isSucceeded()
        Returns:
        Whether the attempt to clear a scroll was successful.
      • getNumFreed

        public int getNumFreed()
        Returns:
        The number of search contexts that were freed. If this is 0 the assumption can be made, that the scroll id specified in the request did not exist. (never existed, was expired, or completely consumed)