public static class ReplicationTask.Status extends Object implements Task.Status
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static ReplicationTask.Status |
PROTOTYPE |
EMPTY_PARAMS| Constructor and Description |
|---|
ReplicationTask.Status(StreamInput in) |
ReplicationTask.Status(String phase) |
| Modifier and Type | Method and Description |
|---|---|
String |
getWriteableName()
Returns the name of the writeable object
|
ReplicationTask.Status |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public static final ReplicationTask.Status PROTOTYPE
public ReplicationTask.Status(String phase)
public ReplicationTask.Status(StreamInput in) throws IOException
IOExceptionpublic String getWriteableName()
NamedWriteablegetWriteableName in interface NamedWriteable<Task.Status>public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo in interface Writeable<Task.Status>IOExceptionpublic ReplicationTask.Status readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom in interface StreamableReader<Task.Status>IOExceptionCopyright © 2009–2017. All rights reserved.