Uses of Class
fj.control.parallel.Actor
-
Packages that use Actor Package Description fj Types that set the premise for the existence of Functional Java.fj.control.parallel 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>>
F. contramapActor()
Returns a function that contramaps over a given actor.default F<Actor<B>,Actor<A>>
F. contramapActor()
Returns a function that contramaps over a given actor. -
Uses of Actor in fj.control.parallel
Fields in fj.control.parallel declared as Actor Modifier and Type Field Description private Actor<P2<Either<P1<A>,Actor<A>>,Promise<A>>>
Promise. actor
Fields in fj.control.parallel with type parameters of type Actor Modifier and Type Field Description private Actor<P2<Either<P1<A>,Actor<A>>,Promise<A>>>
Promise. actor
private java.util.Queue<Actor<A>>
Promise. waiting
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<A>>
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.Constructors in fj.control.parallel with parameters of type Actor Constructor Description Promise(Strategy<Unit> s, Actor<P2<Either<P1<A>,Actor<A>>,Promise<A>>> qa)
Constructor parameters in fj.control.parallel with type arguments of type Actor Constructor Description Promise(Strategy<Unit> s, Actor<P2<Either<P1<A>,Actor<A>>,Promise<A>>> qa)
-