Package org.elasticsearch.client
Class SyncedFlushResponse.ShardCounts
java.lang.Object
org.elasticsearch.client.SyncedFlushResponse.ShardCounts
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentFragment
- Enclosing class:
- SyncedFlushResponse
public static final class SyncedFlushResponse.ShardCounts
extends Object
implements org.elasticsearch.xcontent.ToXContentFragment
Encapsulates the number of total successful and failed shard copies
-
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
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromXContent(org.elasticsearch.xcontent.XContentParser parser) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
TOTAL_FIELD
- See Also:
-
SUCCESSFUL_FIELD
- See Also:
-
FAILED_FIELD
- See Also:
-
-
Method Details
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
fromXContent
public static SyncedFlushResponse.ShardCounts fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
equals
-