CompletedSynchronizationState Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. CompletedSynchronizationState
- com.
Implements
public final class CompletedSynchronizationState
implements JsonSerializable<CompletedSynchronizationState>
Represents the completed state of the last synchronization.
Constructor Summary
| Constructor | Description |
|---|---|
| CompletedSynchronizationState(OffsetDateTime startTime, OffsetDateTime endTime, int itemsUpdatesProcessed, int itemsUpdatesFailed, int itemsSkipped) |
Creates an instance of Completed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Completed |
fromJson(JsonReader jsonReader)
Reads an instance of Completed |
|
Offset |
getEndTime()
Get the end |
| int |
getItemsSkipped()
Get the items |
| int |
getItemsUpdatesFailed()
Get the items |
| int |
getItemsUpdatesProcessed()
Get the items |
|
Offset |
getStartTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
CompletedSynchronizationState
public CompletedSynchronizationState(OffsetDateTime startTime, OffsetDateTime endTime, int itemsUpdatesProcessed, int itemsUpdatesFailed, int itemsSkipped)
Creates an instance of CompletedSynchronizationState class.
Parameters:
Method Details
fromJson
public static CompletedSynchronizationState fromJson(JsonReader jsonReader)
Reads an instance of CompletedSynchronizationState from the JsonReader.
Parameters:
Returns:
Throws:
getEndTime
public OffsetDateTime getEndTime()
Get the endTime property: The end time of the last completed synchronization.
Returns:
getItemsSkipped
public int getItemsSkipped()
Get the itemsSkipped property: The number of items skipped in the last synchronization.
Returns:
getItemsUpdatesFailed
public int getItemsUpdatesFailed()
Get the itemsUpdatesFailed property: The number of item updates that failed in the last synchronization.
Returns:
getItemsUpdatesProcessed
public int getItemsUpdatesProcessed()
Get the itemsUpdatesProcessed property: The number of item updates successfully processed in the last synchronization.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The start time of the last completed synchronization.
Returns: