public static class PrimaryReplicaSyncer.ResyncTask.Status extends java.lang.Object implements Task.Status
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
EMPTY_PARAMS| Constructor and Description |
|---|
Status(StreamInput in) |
Status(java.lang.String phase,
int totalOperations,
int resyncedOperations,
int skippedOperations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
int |
hashCode() |
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentpublic static final java.lang.String NAME
public Status(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic Status(java.lang.String phase,
int totalOperations,
int resyncedOperations,
int skippedOperations)
public java.lang.String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteablepublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object