Packages

o

zio.internal

Platform

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. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addShutdownHook(action: () => Unit)(implicit unsafe: Unsafe): Unit

    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 addSignalHandler(signal: String, action: () => Unit)(implicit unsafe: Unsafe): Unit

    Adds a signal handler for the specified signal (e.g.

    Adds a signal handler for the specified signal (e.g. "INFO"). This method never fails even if adding the handler fails.

    Definition Classes
    PlatformSpecific
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def exit(code: Int)(implicit unsafe: Unsafe): Unit

    Exits the application with the specified exit code.

    Exits the application with the specified exit code.

    Definition Classes
    PlatformSpecific
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def getCurrentThreadGroup()(implicit unsafe: Unsafe): String

    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
  13. final val hasGreenThreads: Boolean
    Definition Classes
    PlatformSpecific
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final val isJS: Boolean(false)

    Returns whether the current platform is ScalaJS.

    Returns whether the current platform is ScalaJS.

    Definition Classes
    PlatformSpecific
  17. final val isJVM: Boolean(true)

    Returns whether the currently platform is the JVM.

    Returns whether the currently platform is the JVM.

    Definition Classes
    PlatformSpecific
  18. final val isNative: Boolean(false)

    Returns whether the currently platform is Scala Native.

    Returns whether the currently platform is Scala Native.

    Definition Classes
    PlatformSpecific
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def newConcurrentMap[A, B]()(implicit unsafe: Unsafe): Map[A, B]
    Definition Classes
    PlatformSpecific
  21. final def newConcurrentSet[A](initialCapacity: Int)(implicit unsafe: Unsafe): Set[A]
    Definition Classes
    PlatformSpecific
  22. final def newConcurrentSet[A]()(implicit unsafe: Unsafe): Set[A]
    Definition Classes
    PlatformSpecific
  23. final def newConcurrentWeakSet[A]()(implicit unsafe: Unsafe): Set[A]
    Definition Classes
    PlatformSpecific
  24. final def newWeakHashMap[A, B]()(implicit unsafe: Unsafe): Map[A, B]
    Definition Classes
    PlatformSpecific
  25. final def newWeakReference[A](value: A)(implicit unsafe: Unsafe): () => A
    Definition Classes
    PlatformSpecific
  26. final def newWeakSet[A]()(implicit unsafe: Unsafe): Set[A]
    Definition Classes
    PlatformSpecific
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from PlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped