Class InitCommand

  • All Implemented Interfaces:
    org.apache.bookkeeper.tools.framework.Command<org.apache.bookkeeper.tools.common.BKFlags>

    public class InitCommand
    extends BookieCommand<org.apache.bookkeeper.tools.framework.CliFlags>
    A command to initialize new bookie.
    • Field Summary

      • Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand

        spec
    • Constructor Summary

      Constructors 
      Constructor Description
      InitCommand()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean apply​(ServerConfiguration conf, org.apache.bookkeeper.tools.framework.CliFlags cmdFlags)  
      • Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand

        acceptServiceUri, apply, apply, apply
      • Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand

        category, description, name, path, setParent, usage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.bookkeeper.tools.framework.Command

        hidden
    • Constructor Detail

      • InitCommand

        public InitCommand()
    • Method Detail

      • apply

        public boolean apply​(ServerConfiguration conf,
                             org.apache.bookkeeper.tools.framework.CliFlags cmdFlags)
        Specified by:
        apply in class BookieCommand<org.apache.bookkeeper.tools.framework.CliFlags>