public static class NodesZooKeeperStatusResponse.NodeZooKeeperStatusResponse
extends org.elasticsearch.action.support.nodes.NodeOperationResponse
implements org.elasticsearch.common.xcontent.ToXContent
| Constructor and Description |
|---|
NodesZooKeeperStatusResponse.NodeZooKeeperStatusResponse(org.elasticsearch.cluster.node.DiscoveryNode node,
boolean enabled,
boolean connected) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
connected() |
boolean |
enabled() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
static NodesZooKeeperStatusResponse.NodeZooKeeperStatusResponse |
readNodeZooKeeperStatusResponse(org.elasticsearch.common.io.stream.StreamInput in) |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public NodesZooKeeperStatusResponse.NodeZooKeeperStatusResponse(org.elasticsearch.cluster.node.DiscoveryNode node,
boolean enabled,
boolean connected)
public boolean enabled()
public boolean connected()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamablereadFrom in class org.elasticsearch.action.support.nodes.NodeOperationResponseIOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in class org.elasticsearch.action.support.nodes.NodeOperationResponseIOExceptionpublic static NodesZooKeeperStatusResponse.NodeZooKeeperStatusResponse readNodeZooKeeperStatusResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
IOExceptionpublic org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentIOExceptionCopyright © 2011–2014 JBoss by Red Hat. All rights reserved.