Object

com.typesafe.conductr.bundlelib.akka

Env

Related Doc: package akka

Permalink

object Env extends scala.Env

Provides functions to set up the Akka cluster environment in accordance with what ConductR provides.

Linear Supertypes
scala.Env, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Env
  2. Env
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type SystemName = String

    Permalink

    Represents a valid Akka system name.

    Represents a valid Akka system name. This can be produced by mkSystemName.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def asConfig(systemName: SystemName): Config

    Permalink

    Provides various Akka related properties, e.g.

    Provides various Akka related properties, e.g. Akka seed nodes, given the environment that ConductR's provides. If ConductR did not start this program there is no effect.

    If ConductR did start this then the seed node properties for an Akka cluster are automatically overridden. In this case, if the AKKA_REMOTE_OTHER_IPS env is non empty then this node will join the cluster indicated by that env's colon delimited seed node ips (and also AKKA_REMOTE_OTHER_PROTOCOLS and AKKA_REMOTE_OTHER_PORTS envs). Note that the service name of AKKA_REMOTE is used by convention for Akka clustering, but this itself can be overridden by supplying a AKKA_REMOTE_ENDPOINT_NAME env.

    Also in the case where ConductR did start this bundle but there is no AKKA_REMOTE_OTHER_IPS value then the current node is assumed to be starting the cluster.

    systemName

    the system name to use - requires that mkSystemName is used

    returns

    Typesafe Config that can be merged with any existing configuration - this config declares Akka remoting and cluster concerns.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val bundleId: Option[String]

    Permalink
    Definition Classes
    Env
  7. val bundleName: Option[String]

    Permalink
    Definition Classes
    Env
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val conductRStatus: Option[String]

    Permalink
    Definition Classes
    Env
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val isRunByConductR: Boolean

    Permalink
    Definition Classes
    Env
  17. def mkSystemId(system: String): String

    Permalink

    take a string representing a system name and form a valid actor system name from it.

  18. def mkSystemName(fallbackName: String): SystemName

    Permalink

    Form a name for the actor system.

    Form a name for the actor system. When running from ConductR, this will comprise a name that includes the system name and version.

    fallbackName

    the system name to fallback to when not running within ConductR.

    returns

    the constructed system name or the fallbackName when not running within ConductR.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val serviceLocator: Option[String]

    Permalink
    Definition Classes
    Env
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def asConfig: Config

    Permalink

    See asConfig(systemName)

    See asConfig(systemName)

    Annotations
    @deprecated
    Deprecated

    (Since version 1.9) Use asConfig(systemName) so that a system name is not assumed

Inherited from scala.Env

Inherited from AnyRef

Inherited from Any

Ungrouped