Class SimpleDaemon

  • All Implemented Interfaces:
    Daemon

    public class SimpleDaemon
    extends AbstractDaemon
    Since SimpleDaemon has an empty Activity context, it should be used primarily to execute daemon commands.

    Created: 2019. 01. 22.

    Since:
    6.0.0
    • Constructor Detail

      • SimpleDaemon

        public SimpleDaemon()
    • Method Detail

      • init

        public void init​(@Nullable
                         java.lang.String basePath,
                         @NonNull
                         DaemonConfig daemonConfig)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • start

        public void start()
                   throws java.lang.Exception
        Overrides:
        start in class AbstractDaemon
        Throws:
        java.lang.Exception
      • start

        public void start​(boolean wait)
                   throws java.lang.Exception
        Overrides:
        start in class AbstractDaemon
        Throws:
        java.lang.Exception
      • start

        public void start​(long wait)
                   throws java.lang.Exception
        Overrides:
        start in class AbstractDaemon
        Throws:
        java.lang.Exception