Class SingletonActor$


  • public class SingletonActor$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SingletonActor$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      SingletonActor$()  
    • Field Detail

      • MODULE$

        public static final SingletonActor$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • SingletonActor$

        public SingletonActor$()
    • Method Detail

      • apply

        public <M> SingletonActor<M> apply​(Behavior<M> behavior,
                                           java.lang.String name)
        Parameters:
        name - Unique name for the singleton
        behavior - Behavior for the singleton
      • of

        public <M> SingletonActor<M> of​(Behavior<M> behavior,
                                        java.lang.String name)
        Java API

        Parameters:
        name - Unique name for the singleton
        behavior - Behavior for the singleton