@InterfaceAudience.LimitedPrivate(value="Configuration") class ClusterStatusListener.MulticastListener extends Object implements ClusterStatusListener.Listener
Modifier and Type | Class and Description |
---|---|
private class |
ClusterStatusListener.MulticastListener.ClusterStatusHandler
Class, conforming to the Netty framework, that manages the message received.
|
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 |
---|
MulticastListener() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Called to close the resources, if any.
|
void |
connect(org.apache.hadoop.conf.Configuration conf)
Called to connect.
|
private org.apache.hbase.thirdparty.io.netty.channel.socket.DatagramChannel channel
private final org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup group
public MulticastListener()
public void connect(org.apache.hadoop.conf.Configuration conf) throws IOException
ClusterStatusListener.Listener
connect
in interface ClusterStatusListener.Listener
conf
- Configuration to use.IOException
- if failing to connectpublic void close()
ClusterStatusListener.Listener
close
in interface Closeable
close
in interface AutoCloseable
close
in interface ClusterStatusListener.Listener
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.