Package org.apache.hadoop.hbase.client
Class ClusterStatusListener.MulticastListener
java.lang.Object
org.apache.hadoop.hbase.client.ClusterStatusListener.MulticastListener
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ClusterStatusListener.Listener
- Enclosing class:
- ClusterStatusListener
@LimitedPrivate("Configuration")
class ClusterStatusListener.MulticastListener
extends Object
implements ClusterStatusListener.Listener
An implementation using a multicast message between the master & the client.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
Class, conforming to the Netty framework, that manages the message received. -
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
channel
-
group
-
-
Constructor Details
-
MulticastListener
public MulticastListener()
-
-
Method Details
-
connect
Description copied from interface:ClusterStatusListener.Listener
Called to connect.- Specified by:
connect
in interfaceClusterStatusListener.Listener
- Parameters:
conf
- Configuration to use.- Throws:
IOException
- if failing to connect
-
close
Description copied from interface:ClusterStatusListener.Listener
Called to close the resources, if any. Cannot throw an exception.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceClusterStatusListener.Listener
-