Class Main


  • public class Main
    extends java.lang.Object
    Deprecated.
    Implement your own main class instead, from which you start the ActorSystem and actors. Since Akka 2.6.0.
    Main class to start an pekko.actor.ActorSystem with one top level application supervisor actor. It will shutdown the actor system when the top level actor is terminated.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Main.Terminator
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • Main

        public Main()
        Deprecated.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Deprecated.
        Parameters:
        args - one argument: the class of the application supervisor actor