Class NimbusInfo

java.lang.Object
org.apache.storm.nimbus.NimbusInfo
All Implemented Interfaces:
Serializable

public class NimbusInfo extends Object implements Serializable
See Also:
  • Constructor Details

    • NimbusInfo

      public NimbusInfo(String host, int port, boolean isLeader)
  • Method Details

    • parse

      public static NimbusInfo parse(String nimbusInfo)
    • fromConf

      public static NimbusInfo fromConf(Map<String,Object> conf)
    • toHostPortString

      public String toHostPortString()
    • isLeader

      public boolean isLeader()
    • setLeader

      public void setLeader(boolean isLeader)
    • getPort

      public int getPort()
    • getHost

      public String getHost()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object