Object/Class

molecule.platform

Platform

Related Docs: class Platform | package platform

Permalink

object Platform extends PlatformFactory[Platform]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Platform
  2. PlatformFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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 var _complexityCutoffThreshold: Int

    Permalink

    Maximum allowed stream complexity for this platform.

    Maximum allowed stream complexity for this platform. Using a large value (>1000) is likely to cause stack overflows but benchmarks show that 50 is more than enough. It is a var only because of benchmarks who tweak this value.

  5. final def apply(name: String, schedulerFactory: SchedulerFactory, debug: Boolean): Platform

    Permalink

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    schedulerFactory

    the scheduler used to schedule lightweight processes on this platform (see for instance schedulers.FlowParallelScheduler or schedulers.SingleThreadedScheduler)

    debug

    turn on logging of debug information (e.g. which processes started or stopped).

    returns

    a new platform

    Definition Classes
    PlatformFactory
  6. final def apply(name: String, schedulerFactory: SchedulerFactory): Platform

    Permalink

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    schedulerFactory

    the scheduler used to schedule lightweight processes on this platform (see for instance schedulers.FlowParallelScheduler or schedulers.SingleThreadedScheduler)

    returns

    a new platform

    Definition Classes
    PlatformFactory
  7. final def apply(name: String, nbThreads: Int, debug: Boolean): Platform

    Permalink

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    nbThreads

    the number of native threads allocated to the platform.

    debug

    turn on logging of debug information (e.g. which processes started or stopped).

    returns

    a new platform

    Definition Classes
    PlatformFactory
  8. final def apply(name: String, nbThreads: Int): Platform

    Permalink

    Create a new Platform.

    Create a new Platform.

    name

    the name of the platform.

    nbThreads

    the number of native threads allocated to the platform.

    returns

    a new platform

    Definition Classes
    PlatformFactory
  9. final def apply(name: String, debug: Boolean): Platform

    Permalink

    Create a new Platform.

    Create a new Platform.

    By default, a platform uses as many native threads as there are hardware threads available from this runtime system (@see java.lang.Runtime.availableProcessors).

    name

    the name of the platform.

    debug

    turn on logging of debug information (e.g. which processes started or stopped).

    returns

    a new platform

    Definition Classes
    PlatformFactory
  10. final def apply(name: String): Platform

    Permalink

    Create a new Platform.

    Create a new Platform.

    By default, a platform uses as many native threads as there are hardware threads available from this runtime system (@see java.lang.Runtime.availableProcessors).

    name

    the name of the platform.

    returns

    a new platform

    Definition Classes
    PlatformFactory
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def availableMemory: Long

    Permalink

    Return available memory

  13. val availableProcessors: Int

    Permalink

    Return available processors

  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def complexityCutoffThreshold: Int

    Permalink
    Annotations
    @inline()
  16. val defaultThreadCount: Int

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def newPlatform(name: String, monitor: ProcessMonitor, bind: (Platform) ⇒ Scheduler): Platform

    Permalink
    Definition Classes
    PlatformPlatformFactory
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. final val segmentSizeThreshold: Int(50)

    Permalink

    Set the maximum allowed segment size for this platform.

    Set the maximum allowed segment size for this platform.

    Using a large value (>1000) is likely to cause stack overflows but benchmarks show that 50 is more than enough.

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

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

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

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

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

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

Inherited from PlatformFactory[Platform]

Inherited from AnyRef

Inherited from Any

Ungrouped