Packages

p

akka.remote

testkit

package testkit

Content Hierarchy
Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Direction extends AnyRef
  2. final case class ForceDisassociate(address: Address) extends Product with Serializable

    Management Command to force disassociation of an address.

    Management Command to force disassociation of an address.

    Annotations
    @SerialVersionUID()
  3. abstract class MultiNodeConfig extends AnyRef

    Configure the role names and participants of the test, including configuration settings.

  4. abstract class MultiNodeSpec extends TestKit with MultiNodeSpecCallbacks

    Note: To be able to run tests with everything ignored or excluded by tags you must not use testconductor, or helper methods that use testconductor, from the constructor of your test class.

    Note: To be able to run tests with everything ignored or excluded by tags you must not use testconductor, or helper methods that use testconductor, from the constructor of your test class. Otherwise the controller node might be shutdown before other nodes have completed and you will see errors like: AskTimeoutException: sending to terminated ref breaks promises. Using lazy val is fine.

  5. trait MultiNodeSpecCallbacks extends AnyRef

    Use this to hook MultiNodeSpec into your test framework lifecycle, either by having your test extend MultiNodeSpec and call these methods or by creating a trait that calls them and then mixing that trait with your test together with MultiNodeSpec.

    Use this to hook MultiNodeSpec into your test framework lifecycle, either by having your test extend MultiNodeSpec and call these methods or by creating a trait that calls them and then mixing that trait with your test together with MultiNodeSpec.

    Example trait for MultiNodeSpec with ScalaTest

    trait STMultiNodeSpec extends MultiNodeSpecCallbacks with AnyWordSpecLike with Matchers with BeforeAndAfterAll {
      override def beforeAll() = multiNodeSpecBeforeAll()
      override def afterAll() = multiNodeSpecAfterAll()
    }
  6. final case class SetThrottle(address: Address, direction: Direction, mode: ThrottleMode) extends Product with Serializable
    Annotations
    @SerialVersionUID()
  7. sealed trait ThrottleMode extends NoSerializationVerificationNeeded
  8. final case class TokenBucket(capacity: Int, tokensPerSecond: Double, nanoTimeOfLastSend: Long, availableTokens: Int) extends ThrottleMode with Product with Serializable
    Annotations
    @SerialVersionUID()

Value Members

  1. case object Blackhole extends ThrottleMode with Product with Serializable
    Annotations
    @SerialVersionUID()
  2. object Direction
  3. case object ForceDisassociateAck extends Product with Serializable
    Annotations
    @SerialVersionUID()
  4. object MultiNodeSpec
  5. case object SetThrottleAck extends Product with Serializable
    Annotations
    @SerialVersionUID()
  6. object ThrottleMode
  7. case object Unthrottled extends ThrottleMode with Product with Serializable
    Annotations
    @SerialVersionUID()

Ungrouped