Uses of Class
fj.control.parallel.Actor

Packages that use Actor
Package
Description
Types that set the premise for the existence of Functional Java.
Parallelization strategies.
  • Uses of Actor in fj

    Methods in fj that return types with arguments of type Actor
    Modifier and Type
    Method
    Description
    default F<Actor<B>,Actor<A>>
    Returns a function that contramaps over a given actor.
    default F<Actor<B>,Actor<A>>
    Returns a function that contramaps over a given actor.
  • Uses of Actor in fj.control.parallel

    Methods in fj.control.parallel that return Actor
    Modifier and Type
    Method
    Description
    static <A> Actor<A>
    Actor.actor(Strategy<Unit> s, F<A,P1<Unit>> e)
    Creates a new Actor that uses the given parallelization strategy and has the given side-effect.
    static <A> Actor<A>
    Actor.actor(Strategy<Unit> s, Effect1<A> e)
    Creates a new Actor that uses the given parallelization strategy and has the given side-effect.
    <A> Actor<A>
    ParModule.actor(Effect1<A> e)
    Creates a concurrent actor that is guaranteed to process only one message at a time.
    <B> Actor<B>
    Actor.contramap(F<B,A> f)
    Contravariant functor pattern.
    <A> Actor<A>
    ParModule.effect(Effect1<A> e)
    Creates a very fast concurrent effect, as an actor that does not guarantee ordering of its messages.
    Actor.promise()
    Transforms this actor to an actor on promises.
    static <T> Actor<T>
    Actor.queueActor(Strategy<Unit> s, Effect1<T> ea)
    An Actor equipped with a queue and which is guaranteed to process one message at a time.
    Methods in fj.control.parallel that return types with arguments of type Actor
    Modifier and Type
    Method
    Description
    <A> F<Effect1<A>, Actor<A>>
    ParModule.actor()
    A first-class constructor of actors.
    <A> F<Effect1<A>, Actor<A>>
    ParModule.effect()
    A first-class constructor of concurrent effects, as actors that don't guarantee ordering of messages.
    Methods in fj.control.parallel with parameters of type Actor
    Modifier and Type
    Method
    Description
    void
    Promise.to(Actor<A> a)
    Promises to send a value to the given actor in the future.