@InterfaceAudience.LimitedPrivate(value="Configuration") public static class ClusterStatusPublisher.MulticastPublisher extends Object implements ClusterStatusPublisher.Publisher
| Modifier and Type | Class and Description |
|---|---|
private static class |
ClusterStatusPublisher.MulticastPublisher.ClusterMetricsEncoder |
private static class |
ClusterStatusPublisher.MulticastPublisher.HBaseDatagramChannelFactory<T extends org.apache.hbase.thirdparty.io.netty.channel.Channel> |
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hbase.thirdparty.io.netty.channel.socket.DatagramChannel |
channel |
private org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup |
group |
| Constructor and Description |
|---|
MulticastPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(org.apache.hadoop.conf.Configuration conf) |
void |
publish(ClusterMetrics cs) |
private org.apache.hbase.thirdparty.io.netty.channel.socket.DatagramChannel channel
private final org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup group
public MulticastPublisher()
public void connect(org.apache.hadoop.conf.Configuration conf) throws IOException
connect in interface ClusterStatusPublisher.PublisherIOExceptionpublic void publish(ClusterMetrics cs)
publish in interface ClusterStatusPublisher.Publisherpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface ClusterStatusPublisher.PublisherCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.