Class ClusterSingleton

  • All Implemented Interfaces:
    Extension
    Direct Known Subclasses:
    AdaptedClusterSingletonImpl

    public abstract class ClusterSingleton
    extends java.lang.Object
    implements Extension
    Start if needed and provide a proxy to a named singleton

    If there already is a manager running for the given singletonName on this node, no additional manager is started. If there already is a proxy running for the given singletonName on this node, an ActorRef to that is returned.

    • Constructor Detail

      • ClusterSingleton

        public ClusterSingleton()
    • Method Detail

      • get

        public static ClusterSingleton get​(ActorSystem<?> system)
        Java API:
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • apply

        public static final T apply​(ActorSystem<?> system)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object other)