Package org.elasticsearch.client.slm
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
long
long
long
int
hashCode()
static SnapshotLifecycleStats
parse
(org.elasticsearch.xcontent.XContentParser parser) toString()
org.elasticsearch.xcontent.XContentBuilder
toXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.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.xcontent.ToXContentObject
isFragment
-
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
-
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 interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-