Class SnapshotLifecycleStats

java.lang.Object
org.elasticsearch.client.slm.SnapshotLifecycleStats
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class SnapshotLifecycleStats extends Object implements org.elasticsearch.xcontent.ToXContentObject
  • Field Details

    • RETENTION_RUNS

      public static final org.elasticsearch.xcontent.ParseField RETENTION_RUNS
    • RETENTION_FAILED

      public static final org.elasticsearch.xcontent.ParseField RETENTION_FAILED
    • RETENTION_TIMED_OUT

      public static final org.elasticsearch.xcontent.ParseField RETENTION_TIMED_OUT
    • RETENTION_TIME

      public static final org.elasticsearch.xcontent.ParseField RETENTION_TIME
    • RETENTION_TIME_MILLIS

      public static final org.elasticsearch.xcontent.ParseField RETENTION_TIME_MILLIS
    • POLICY_STATS

      public static final org.elasticsearch.xcontent.ParseField POLICY_STATS
    • TOTAL_TAKEN

      public static final org.elasticsearch.xcontent.ParseField TOTAL_TAKEN
    • TOTAL_FAILED

      public static final org.elasticsearch.xcontent.ParseField TOTAL_FAILED
    • TOTAL_DELETIONS

      public static final org.elasticsearch.xcontent.ParseField TOTAL_DELETIONS
    • TOTAL_DELETION_FAILURES

      public static final org.elasticsearch.xcontent.ParseField TOTAL_DELETION_FAILURES
  • Method Details

    • parse

      public static SnapshotLifecycleStats parse(org.elasticsearch.xcontent.XContentParser parser)
    • getRetentionRunCount

      public long getRetentionRunCount()
    • getRetentionFailedCount

      public long getRetentionFailedCount()
    • getRetentionTimedOut

      public long getRetentionTimedOut()
    • getRetentionTimeMillis

      public long getRetentionTimeMillis()
    • getMetrics

      Returns:
      a map of per-policy stats for each SLM policy
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object