Class DataSourceSyncJobMetrics

    • Method Detail

      • documentsAdded

        public final String documentsAdded()

        The number of documents added from the data source up to now in the data source sync.

        Returns:
        The number of documents added from the data source up to now in the data source sync.
      • documentsModified

        public final String documentsModified()

        The number of documents modified in the data source up to now in the data source sync run.

        Returns:
        The number of documents modified in the data source up to now in the data source sync run.
      • documentsDeleted

        public final String documentsDeleted()

        The number of documents deleted from the data source up to now in the data source sync run.

        Returns:
        The number of documents deleted from the data source up to now in the data source sync run.
      • documentsFailed

        public final String documentsFailed()

        The number of documents that failed to sync from the data source up to now in the data source sync run.

        Returns:
        The number of documents that failed to sync from the data source up to now in the data source sync run.
      • documentsScanned

        public final String documentsScanned()

        The current number of documents crawled by the current sync job in the data source.

        Returns:
        The current number of documents crawled by the current sync job in the data source.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)