|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.action.support.nodes.NodeOperationResponse org.elasticsearch.action.admin.cluster.node.info.NodeInfo
public class NodeInfo
Node information (static, does not change over time).
Constructor Summary | |
---|---|
NodeInfo(String hostname,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
NetworkInfo network,
TransportInfo transport,
HttpInfo http)
|
Method Summary | |
---|---|
String |
getHostname()
System's hostname. |
HttpInfo |
getHttp()
|
JvmInfo |
getJvm()
JVM level information. |
NetworkInfo |
getNetwork()
Network level information. |
OsInfo |
getOs()
Operating System level information. |
ProcessInfo |
getProcess()
Process level information. |
com.google.common.collect.ImmutableMap<String,String> |
getServiceAttributes()
The attributes of the node. |
Settings |
getSettings()
The settings of the node. |
ThreadPoolInfo |
getThreadPool()
|
TransportInfo |
getTransport()
|
String |
hostname()
System's hostname. |
HttpInfo |
http()
|
JvmInfo |
jvm()
JVM level information. |
NetworkInfo |
network()
Network level information. |
OsInfo |
os()
Operating System level information. |
ProcessInfo |
process()
Process level information. |
void |
readFrom(StreamInput in)
|
static NodeInfo |
readNodeInfo(StreamInput in)
|
com.google.common.collect.ImmutableMap<String,String> |
serviceAttributes()
The service attributes of the node. |
Settings |
settings()
The settings of the node. |
ThreadPoolInfo |
threadPool()
|
TransportInfo |
transport()
|
void |
writeTo(StreamOutput out)
|
Methods inherited from class org.elasticsearch.action.support.nodes.NodeOperationResponse |
---|
getNode, node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeInfo(@Nullable String hostname, DiscoveryNode node, @Nullable com.google.common.collect.ImmutableMap<String,String> serviceAttributes, @Nullable Settings settings, @Nullable OsInfo os, @Nullable ProcessInfo process, @Nullable JvmInfo jvm, @Nullable ThreadPoolInfo threadPool, @Nullable NetworkInfo network, @Nullable TransportInfo transport, @Nullable HttpInfo http)
Method Detail |
---|
@Nullable public String hostname()
null
in case of UnknownHostException
@Nullable public String getHostname()
null
in case of UnknownHostException
@Nullable public com.google.common.collect.ImmutableMap<String,String> serviceAttributes()
@Nullable public com.google.common.collect.ImmutableMap<String,String> getServiceAttributes()
@Nullable public Settings settings()
@Nullable public Settings getSettings()
@Nullable public OsInfo os()
@Nullable public OsInfo getOs()
@Nullable public ProcessInfo process()
@Nullable public ProcessInfo getProcess()
@Nullable public JvmInfo jvm()
@Nullable public JvmInfo getJvm()
@Nullable public ThreadPoolInfo threadPool()
@Nullable public ThreadPoolInfo getThreadPool()
@Nullable public NetworkInfo network()
@Nullable public NetworkInfo getNetwork()
@Nullable public TransportInfo transport()
@Nullable public TransportInfo getTransport()
@Nullable public HttpInfo http()
@Nullable public HttpInfo getHttp()
public static NodeInfo readNodeInfo(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class NodeOperationResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class NodeOperationResponse
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |