Interface ClusterStatusListener.Listener

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
ClusterStatusListener.MulticastListener
Enclosing class:
ClusterStatusListener

static interface ClusterStatusListener.Listener extends Closeable
The interface to be implemented by a listener of a cluster status event.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to close the resources, if any.
    void
    connect(org.apache.hadoop.conf.Configuration conf)
    Called to connect.
  • Method Details

    • close

      void close()
      Called to close the resources, if any. Cannot throw an exception.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • connect

      void connect(org.apache.hadoop.conf.Configuration conf) throws IOException
      Called to connect.
      Parameters:
      conf - Configuration to use.
      Throws:
      IOException - if failing to connect