public class TransportInfo extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
TransportInfo(BoundTransportAddress address,
Map<String,BoundTransportAddress> profileAddresses) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BoundTransportAddress |
address() |
BoundTransportAddress |
getAddress() |
Map<String,BoundTransportAddress> |
getProfileAddresses() |
Map<String,BoundTransportAddress> |
profileAddresses() |
void |
readFrom(StreamInput in) |
static TransportInfo |
readTransportInfo(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public TransportInfo(BoundTransportAddress address, @Nullable Map<String,BoundTransportAddress> profileAddresses)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static TransportInfo readTransportInfo(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic BoundTransportAddress address()
public BoundTransportAddress getAddress()
public Map<String,BoundTransportAddress> getProfileAddresses()
public Map<String,BoundTransportAddress> profileAddresses()
Copyright © 2009–2016. All rights reserved.