colossus

IOSystem

case class IOSystem extends Product with Serializable

An IO System is basically a collection of worker actors. You can attach either servers or clients to an IOSystem.

You may have multiple IOSystems per ActorSystem and actors attached to different IOSystems have no rules about cross communication. The main thing to keep in mind is that all actors in a single IOSystem will share event loops.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IOSystem
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. def !(msg: Any)(implicit sender: ActorRef = ActorRef.noSender): Unit

    Sends a message to the underlying WorkerManager.

    Sends a message to the underlying WorkerManager.

    msg

    Msg to send

    sender

    The sender of the message, defaults to ActorRef.noSender

    returns

  2. final def !=(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  4. final def ##(): Int

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

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. val actorSystem: ActorSystem

  8. def apocalypse(): Unit

    Shuts down the entire actor system

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val config: IOSystemConfig

  12. def connect(address: InetSocketAddress, handler: (WorkerRef) ⇒ ClientConnectionHandler): Unit

    Connect to the specified address and use the specified function to create a Handler to attach to it.

    Connect to the specified address and use the specified function to create a Handler to attach to it.

    address

    The address with which to connect.

    handler

    Function which takes in the bound WorkerRef and creates a ClientConnectionHandler which is connected to the handler.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

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

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

    Definition Classes
    Any
  17. val metrics: MetricSystem

  18. def name: String

    Name of the IOSystem as specified in the IOSystemConfig

    Name of the IOSystem as specified in the IOSystemConfig

    returns

  19. val namespace: MetricAddress

    MetricAddress of this IOSystem as seen from the MetricSystem

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

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def registeredServers(implicit to: Timeout, ec: ExecutionContext): Future[Seq[ServerRef]]

  24. def run(t: Task): ActorRef

    Run the specified task on a Worker thread.

    Run the specified task on a Worker thread.

    t

    The Task to run

    returns

    The Task's ActorRef

  25. def shutdown(): Unit

    Shuts down the IO System

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val workerManager: ActorRef

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped