Object/Class

monix.execution

Features

Related Docs: class Features | package execution

Permalink

object Features extends Serializable

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

Type Members

  1. abstract type Flag <: Long with FlagTag

    Permalink

    Encodes a feature flag, stored as a Long.

    Encodes a feature flag, stored as a Long.

    Note that feature flags should be powers of 2, because they'll get added to the set via bitwise arithmetic.

    Example:

    val RED   = Features.flag(1)
    val GREEN = Features.flag(2)
    val BLUE  = Features.flag(4)
    val WHITE = Features.flag(8)

    You can wrap a Long into a Flag via flag.

  2. trait FlagTag extends Any

    Permalink

    Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of Long), but without the boxing.

    Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of Long), but without the boxing.

    Inspired by the alexknvl/newtypes project.

  3. abstract type Flags <: Long with FlagsTag

    Permalink

    Encodes a set of Flag values.

    Encodes a set of Flag values.

    Internally this is still a Long, but has its own type for type safety reasons.

  4. trait FlagsTag extends Any

    Permalink

    Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of Long), but without the boxing.

    Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of Long), but without the boxing.

    Inspired by the alexknvl/newtypes project.

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 apply(flags: Flag*): Features

    Permalink

    Builds a new Features instance.

    Builds a new Features instance.

    flags

    is a list of feature flags to instantiate the value with.

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val empty: Features

    Permalink

    Reusable, empty Features reference.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flag(value: Long): Flag

    Permalink

    Wraps a Long value into a Flag.

    Wraps a Long value into a Flag.

    Annotations
    @inline()
  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 ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped