final class Features extends AnyVal with Serializable
Features
describes a set of features described via
bitwise operators applied to ints, but made type safe.
This is like a special purpose BitSet
.
Currently used to describe the features of Scheduler.
- Source
- Features.scala
- Alphabetic
- By Inheritance
- Features
- Serializable
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(feature: Flag): Features
Adds a feature to the set.
Adds a feature to the set.
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def contains(feature: Flag): Boolean
Tests if a given feature is in the set.
Tests if a given feature is in the set.
- Annotations
- @inline()
- def diff(other: Features): Features
Computes the difference between the source and another feature set, such that the new value contains the features of the source that are not in the other set.
Computes the difference between the source and another feature set, such that the new value contains the features of the source that are not in the other set.
- Annotations
- @inline()
- val flags: Flags
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def intersect(other: Features): Features
Longersects the source with another feature set, such that the new value will contain the flags that are contained by both.
Longersects the source with another feature set, such that the new value will contain the flags that are contained by both.
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Features → Any
- def union(other: Features): Features
Computes the union between the source and another feature set, such that the new value contains the features of both.
Computes the union between the source and another feature set, such that the new value contains the features of both.
- Annotations
- @inline()
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.catnap exposes pure abstractions built on top of the Cats-Effect type classes:
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.tail exposes Iterant for purely functional pull based streaming:
Batch
andBatchCursor
, the alternatives to Scala'sIterable
andIterator
respectively that we are using within Iterant's encodingYou can control evaluation with type you choose - be it Task, Coeval, cats.effect.IO or your own as long as you provide correct cats-effect or cats typeclass instance.