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
IOException
public String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable<Task.Status>
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public void writeTo(StreamOutput out) throws IOException
Writeable
writeTo
in interface Writeable<Task.Status>
IOException
public ReplicationTask.Status readFrom(StreamInput in) throws IOException
StreamableReader
readFrom
in interface StreamableReader<Task.Status>
IOException
Copyright © 2009–2016. All rights reserved.