SearchServiceStatistics Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchServiceStatistics
- com.
Implements
public final class SearchServiceStatistics
implements JsonSerializable<SearchServiceStatistics>
Response from a get service statistics request. If successful, it includes service level counters and limits.
Constructor Summary
Constructor | Description |
---|---|
SearchServiceStatistics(SearchServiceCounters counters, SearchServiceLimits limits) |
Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
Search |
getCounters()
Get the counters property: Service level resource counters. |
Search |
getLimits()
Get the limits property: Service level general limits. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchServiceStatistics
public SearchServiceStatistics(SearchServiceCounters counters, SearchServiceLimits limits)
Creates an instance of SearchServiceStatistics class.
Parameters:
Method Details
fromJson
public static SearchServiceStatistics fromJson(JsonReader jsonReader)
Reads an instance of SearchServiceStatistics from the JsonReader.
Parameters:
Returns:
Throws:
getCounters
public SearchServiceCounters getCounters()
Get the counters property: Service level resource counters.
Returns:
getLimits
public SearchServiceLimits getLimits()
Get the limits property: Service level general limits.
Returns: