Class NodeTool


  • public class NodeTool
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void badUse​(java.lang.Exception e)  
      protected void err​(java.lang.Throwable e)  
      int execute​(java.lang.String... args)  
      static java.util.SortedMap<java.lang.String,​SetHostStatWithPort> getOwnershipByDcWithPort​(NodeProbe probe, boolean resolveIp, java.util.Map<java.lang.String,​java.lang.String> tokenToEndpoint, java.util.Map<java.lang.String,​java.lang.Float> ownerships)  
      static void main​(java.lang.String... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
      • execute

        public int execute​(java.lang.String... args)
      • badUse

        protected void badUse​(java.lang.Exception e)
      • err

        protected void err​(java.lang.Throwable e)
      • getOwnershipByDcWithPort

        public static java.util.SortedMap<java.lang.String,​SetHostStatWithPort> getOwnershipByDcWithPort​(NodeProbe probe,
                                                                                                               boolean resolveIp,
                                                                                                               java.util.Map<java.lang.String,​java.lang.String> tokenToEndpoint,
                                                                                                               java.util.Map<java.lang.String,​java.lang.Float> ownerships)