Object/Class

zio.internal

Platform

Related Docs: class Platform | package internal

Permalink

object Platform extends PlatformSpecific

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

Type Members

  1. abstract class Proxy extends Platform

    Permalink

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 addShutdownHook(action: () ⇒ Unit): Unit

    Permalink

    Adds a shutdown hook that executes the specified action on shutdown.

    Adds a shutdown hook that executes the specified action on shutdown.

    Definition Classes
    PlatformSpecific
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. lazy val benchmark: Platform

    Permalink

    A Runtime with settings suitable for benchmarks, specifically with Tracing and auto-yielding disabled.

    A Runtime with settings suitable for benchmarks, specifically with Tracing and auto-yielding disabled.

    Tracing adds a constant ~2x overhead on FlatMaps, however, it's an optional feature and it's not valid to compare the performance of ZIO with enabled Tracing with effect types _without_ a comparable feature.

    Definition Classes
    PlatformSpecific
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. lazy val default: Platform

    Permalink

    The default platform, configured with settings designed to work well for mainstream usage.

    The default platform, configured with settings designed to work well for mainstream usage. Advanced users should consider making their own platform customized for specific application requirements.

    Definition Classes
    PlatformSpecific
  9. final val defaultYieldOpCount: Int(2048)

    Permalink

    The default number of operations the ZIO runtime should execute before yielding to other fibers.

    The default number of operations the ZIO runtime should execute before yielding to other fibers.

    Definition Classes
    PlatformSpecific
  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 forceThrowableCause(throwable: ⇒ Throwable, newCause: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    PlatformSpecific
    Annotations
    @silent( "is never used" )
  14. final def fromExecutionContext(ec: ExecutionContext, yieldOpCount: Int = 2048): Platform

    Permalink

    Creates a Platform from an execution context.

    Creates a Platform from an execution context.

    Definition Classes
    PlatformSpecific
  15. final def fromExecutor(executor0: Executor): Platform

    Permalink

    Creates a platform from an Executor.

    Creates a platform from an Executor.

    Definition Classes
    PlatformSpecific
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. val getCurrentThreadGroup: String

    Permalink

    Returns the name of the thread group to which this thread belongs.

    Returns the name of the thread group to which this thread belongs. This is a side-effecting method.

    Definition Classes
    PlatformSpecific
  18. lazy val global: Platform

    Permalink

    A Platform created from Scala's global execution context.

    A Platform created from Scala's global execution context.

    Definition Classes
    PlatformSpecific
  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  21. val isJS: Boolean

    Permalink

    Returns whether the current platform is ScalaJS.

    Returns whether the current platform is ScalaJS.

    Definition Classes
    PlatformSpecific
  22. val isJVM: Boolean

    Permalink

    Returns whether the currently platform is the JVM.

    Returns whether the currently platform is the JVM.

    Definition Classes
    PlatformSpecific
  23. val isNative: Boolean

    Permalink

    Returns whether the currently platform is Scala Native.

    Returns whether the currently platform is Scala Native.

    Definition Classes
    PlatformSpecific
  24. final def makeDefault(yieldOpCount: Int = defaultYieldOpCount): Platform

    Permalink

    Makes a new default platform.

    Makes a new default platform. This is a side-effecting method.

    Definition Classes
    PlatformSpecific
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def newConcurrentSet[A](): Set[A]

    Permalink
    Definition Classes
    PlatformSpecific
  27. final def newConcurrentWeakSet[A](): Set[A]

    Permalink
    Definition Classes
    PlatformSpecific
  28. final def newWeakHashMap[A, B](): Map[A, B]

    Permalink
    Definition Classes
    PlatformSpecific
  29. final def newWeakReference[A](value: A): () ⇒ A

    Permalink
    Definition Classes
    PlatformSpecific
  30. final def newWeakSet[A](): Set[A]

    Permalink
    Definition Classes
    PlatformSpecific
  31. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from PlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped