@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.Publisher
IOException
public void publish(ClusterMetrics cs)
publish
in interface ClusterStatusPublisher.Publisher
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface ClusterStatusPublisher.Publisher
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.