Interface NodeRegistration

All Known Implementing Classes:
DatanodeRegistration, NamenodeRegistration

@Private public interface NodeRegistration
Generic class specifying information, which need to be sent to the name-node during the registration process.
  • Method Details

    • getAddress

      String getAddress()
      Get address of the server node.
      Returns:
      ipAddr:portNumber
    • getRegistrationID

      String getRegistrationID()
      Get registration ID of the server node.
    • getVersion

      int getVersion()
      Get layout version of the server node.
    • toString

      String toString()
      Overrides:
      toString in class Object