Class/Object

molecule.platform

Platform

Related Docs: object Platform | package platform

Permalink

abstract class Platform extends java.util.concurrent.Executor

Encapsulate access to underlying platform resources, timers, JVM threads, ....

An external admin thread uses the platform to bootstrap components.

Linear Supertypes
java.util.concurrent.Executor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Platform
  2. Executor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Platform()

    Permalink

Abstract Value Members

  1. abstract def monitor: ProcessMonitor

    Permalink

    Platform monitor

  2. abstract def name: String

    Permalink

    Platform name

  3. abstract def scheduler: Scheduler

    Permalink

    Platform scheduler

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def execute(task: Runnable): Unit

    Permalink

    Execute a (non-blocking) task using a new user-level thread created by this platform.

    Execute a (non-blocking) task using a new user-level thread created by this platform.

    task

    the (non-blocking) task to execute.

    returns

    unit

    Definition Classes
    Platform → Executor
  9. final def expose[A](ochan: OChan[A])(implicit arg0: Message[A]): OChan[A]

    Permalink

    Expose a streaming channel as a local system-level channel by executing its transformations over this platform.

    Expose a streaming channel as a local system-level channel by executing its transformations over this platform.

    returns

    a system-level channel

  10. final def expose[A](ichan: IChan[A])(implicit arg0: Message[A]): IChan[A]

    Permalink

    Expose a streaming channel as a local system-level channel by executing its transformations over this platform.

    Expose a streaming channel as a local system-level channel by executing its transformations over this platform.

    returns

    a system-level channel

  11. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  15. final def launch[I1, I2, I3, O1, O2, O3, R](f: (IChan[I1], IChan[I2], IChan[I3], OChan[O1], OChan[O2], OChan[O3]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[I3], arg3: Message[O1], arg4: Message[O2], arg5: Message[O3], arg6: Message[R]): Connections3x3[I1, I2, I3, O1, O2, O3, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  16. final def launch[I1, I2, O1, O2, O3, R](f: (IChan[I1], IChan[I2], OChan[O1], OChan[O2], OChan[O3]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[O1], arg3: Message[O2], arg4: Message[O3], arg5: Message[R]): Connections2x3[I1, I2, O1, O2, O3, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  17. final def launch[I1, I2, I3, O1, O2, R](f: (IChan[I1], IChan[I2], IChan[I3], OChan[O1], OChan[O2]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[I3], arg3: Message[O1], arg4: Message[O2], arg5: Message[R]): Connections3x2[I1, I2, I3, O1, O2, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  18. final def launch[I1, O1, O2, O3, R](f: (IChan[I1], OChan[O1], OChan[O2], OChan[O3]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[O1], arg2: Message[O2], arg3: Message[O3], arg4: Message[R]): Connections1x3[I1, O1, O2, O3, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  19. final def launch[I1, I2, I3, O1, R](f: (IChan[I1], IChan[I2], IChan[I3], OChan[O1]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[I3], arg3: Message[O1], arg4: Message[R]): Connections3x1[I1, I2, I3, O1, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  20. final def launch[O1, O2, O3, R](f: (OChan[O1], OChan[O2], OChan[O3]) ⇒ Process[R])(implicit arg0: Message[O1], arg1: Message[O2], arg2: Message[O3], arg3: Message[R]): Connections0x3[O1, O2, O3, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  21. final def launch[I1, I2, I3, R](f: (IChan[I1], IChan[I2], IChan[I3]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[I3], arg3: Message[R]): Connections3x0[I1, I2, I3, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  22. final def launch[I1, I2, O1, O2, R](f: (IChan[I1], IChan[I2], OChan[O1], OChan[O2]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[O1], arg3: Message[O2], arg4: Message[R]): Connections2x2[I1, I2, O1, O2, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  23. final def launch[I1, O1, O2, R](f: (IChan[I1], OChan[O1], OChan[O2]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[O1], arg2: Message[O2], arg3: Message[R]): Connections1x2[I1, O1, O2, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  24. final def launch[I1, I2, O1, R](f: (IChan[I1], IChan[I2], OChan[O1]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[O1], arg3: Message[R]): Connections2x1[I1, I2, O1, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  25. final def launch[O1, O2, R](f: (OChan[O1], OChan[O2]) ⇒ Process[R])(implicit arg0: Message[O1], arg1: Message[O2], arg2: Message[R]): Connections0x2[O1, O2, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  26. final def launch[I1, I2, R](f: (IChan[I1], IChan[I2]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[I2], arg2: Message[R]): Connections2x0[I1, I2, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  27. final def launch[I1, O1, R](f: (IChan[I1], OChan[O1]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[O1], arg2: Message[R]): Connections1x1[I1, O1, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  28. final def launch[O1, R](f: (OChan[O1]) ⇒ Process[R])(implicit arg0: Message[O1], arg1: Message[R]): Connections0x1[O1, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  29. final def launch[I1, R](f: (IChan[I1]) ⇒ Process[R])(implicit arg0: Message[I1], arg1: Message[R]): Connections1x0[I1, R]

    Permalink

    Launch a process

    Launch a process

    f

    a function that binds a process to its channels.

    returns

    the connections

  30. final def launch[R](process: Process[R])(implicit arg0: Message[R]): RIChan[R]

    Permalink

    Launch a process

    Launch a process

    process

    a process.

    returns

    the result channel

  31. final def launch[R](process: Process[R], rc: ROChan[R])(implicit arg0: Message[R]): Unit

    Permalink

    Launch a process.

    Launch a process.

    process

    a process.

    rc

    the return channel.

    returns

    unit

  32. def log(msg: ⇒ String): Unit

    Permalink
  33. def logDbg(msg: ⇒ String): Unit

    Permalink
  34. def logErr(msg: String): Unit

    Permalink
  35. def logWarn(msg: String): Unit

    Permalink
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  39. def shutdown(): Unit

    Permalink

    Shutdown.

    Shutdown.

    Close all threading resources allocated by the platform.

  40. def shutdownNow(): Unit

    Permalink

    Shutdown and close all resources allocated by the platform.

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

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

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

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

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

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

Deprecated Value Members

  1. def collect(): Unit

    Permalink

    Block the calling thread until all processes are terminated

    Block the calling thread until all processes are terminated

    In practice, due to race conditions, the method may be invoked before a process is launched. Therefore, for robustness one must test test that processes have terminated using their return channel before calling this method.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4) Use get_! on RIChan's instead

Inherited from java.util.concurrent.Executor

Inherited from AnyRef

Inherited from Any

Ungrouped