ServiceIndexersRuntime Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. ServiceIndexersRuntime
- com.
Implements
public final class ServiceIndexersRuntime
implements JsonSerializable<ServiceIndexersRuntime>
Represents service level indexers runtime information.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceIndexersRuntime(long usedSeconds, OffsetDateTime beginningTime, OffsetDateTime endingTime) |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
|
Offset |
getBeginningTime()
Get the beginning |
|
Offset |
getEndingTime()
Get the ending |
| Long |
getRemainingSeconds()
Get the remaining |
| long |
getUsedSeconds()
Get the used |
|
Service |
setRemainingSeconds(Long remainingSeconds)
Set the remaining |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ServiceIndexersRuntime
public ServiceIndexersRuntime(long usedSeconds, OffsetDateTime beginningTime, OffsetDateTime endingTime)
Creates an instance of ServiceIndexersRuntime class.
Parameters:
Method Details
fromJson
public static ServiceIndexersRuntime fromJson(JsonReader jsonReader)
Reads an instance of ServiceIndexersRuntime from the JsonReader.
Parameters:
Returns:
Throws:
getBeginningTime
public OffsetDateTime getBeginningTime()
Get the beginningTime property: Beginning UTC time of the 24-hour period considered for indexer runtime usage (inclusive).
Returns:
getEndingTime
public OffsetDateTime getEndingTime()
Get the endingTime property: End UTC time of the 24-hour period considered for indexer runtime usage (inclusive).
Returns:
getRemainingSeconds
public Long getRemainingSeconds()
Get the remainingSeconds property: Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds.
Returns:
getUsedSeconds
public long getUsedSeconds()
Get the usedSeconds property: Cumulative runtime of all indexers in the service from the beginningTime to endingTime, in seconds.
Returns:
setRemainingSeconds
public ServiceIndexersRuntime setRemainingSeconds(Long remainingSeconds)
Set the remainingSeconds property: Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds.
Parameters:
Returns: