Package org.elasticsearch.client.slm
Class SnapshotLifecycleStats
java.lang.Object
org.elasticsearch.client.slm.SnapshotLifecycleStats
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class SnapshotLifecycleStats
extends Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
long
long
long
int
hashCode()
static SnapshotLifecycleStats
parse(org.elasticsearch.common.xcontent.XContentParser parser)
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
RETENTION_RUNS
public static final org.elasticsearch.common.xcontent.ParseField RETENTION_RUNS -
RETENTION_FAILED
public static final org.elasticsearch.common.xcontent.ParseField RETENTION_FAILED -
RETENTION_TIMED_OUT
public static final org.elasticsearch.common.xcontent.ParseField RETENTION_TIMED_OUT -
RETENTION_TIME
public static final org.elasticsearch.common.xcontent.ParseField RETENTION_TIME -
RETENTION_TIME_MILLIS
public static final org.elasticsearch.common.xcontent.ParseField RETENTION_TIME_MILLIS -
POLICY_STATS
public static final org.elasticsearch.common.xcontent.ParseField POLICY_STATS -
TOTAL_TAKEN
public static final org.elasticsearch.common.xcontent.ParseField TOTAL_TAKEN -
TOTAL_FAILED
public static final org.elasticsearch.common.xcontent.ParseField TOTAL_FAILED -
TOTAL_DELETIONS
public static final org.elasticsearch.common.xcontent.ParseField TOTAL_DELETIONS -
TOTAL_DELETION_FAILURES
public static final org.elasticsearch.common.xcontent.ParseField TOTAL_DELETION_FAILURES
-
-
Method Details
-
parse
public static SnapshotLifecycleStats parse(org.elasticsearch.common.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.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-