public abstract class Router<P> extends Actor
| Constructor and Description |
|---|
Router(RouterSpecification<P> specification) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Routing<P> |
computeRouting() |
protected <T1> void |
dispatchCommand(BiConsumer<P,T1> action,
T1 routable1) |
protected <T1,T2,T3,T4> |
dispatchCommand(io.vlingo.xoom.common.PentaConsumer<P,T1,T2,T3,T4> action,
T1 routable1,
T2 routable2,
T3 routable3,
T4 routable4) |
protected <T1,T2,T3> void |
dispatchCommand(io.vlingo.xoom.common.QuadConsumer<P,T1,T2,T3> action,
T1 routable1,
T2 routable2,
T3 routable3) |
protected <T1,T2> void |
dispatchCommand(io.vlingo.xoom.common.TriConsumer<P,T1,T2> action,
T1 routable1,
T2 routable2) |
protected <T1,R extends io.vlingo.xoom.common.Completes<?>> |
dispatchQuery(BiFunction<P,T1,R> query,
T1 routable1) |
protected <T1,T2,T3,T4,R extends io.vlingo.xoom.common.Completes<?>> |
dispatchQuery(io.vlingo.xoom.common.PentaFunction<P,T1,T2,T3,T4,R> query,
T1 routable1,
T2 routable2,
T3 routable3,
T4 routable4) |
protected <T1,T2,T3,R extends io.vlingo.xoom.common.Completes<?>> |
dispatchQuery(io.vlingo.xoom.common.QuadFunction<P,T1,T2,T3,R> query,
T1 routable1,
T2 routable2,
T3 routable3) |
protected <T1,T2,R extends io.vlingo.xoom.common.Completes<?>> |
dispatchQuery(io.vlingo.xoom.common.TriFunction<P,T1,T2,R> query,
T1 routable1,
T2 routable2) |
protected void |
initRoutees(RouterSpecification<P> specification) |
Routee<P> |
routeeAt(int index) |
protected List<Routee<P>> |
routees() |
protected <T1> Routing<P> |
routingFor(T1 routable1) |
protected <T1,T2> Routing<P> |
routingFor(T1 routable1,
T2 routable2) |
protected <T1,T2,T3> Routing<P> |
routingFor(T1 routable1,
T2 routable2,
T3 routable3) |
protected <T1,T2,T3,T4> |
routingFor(T1 routable1,
T2 routable2,
T3 routable3,
T4 routable4) |
protected void |
subscribe(List<Routee<P>> toSubscribe) |
protected void |
subscribe(Routee<P> routee) |
protected void |
unsubscribe(List<Routee<P>> toUnsubscribe) |
protected void |
unsubscribe(Routee<P> routee) |
address, afterRestart, afterStop, answerFrom, beforeRestart, beforeResume, beforeStart, childActorFor, childActorFor, completableFuture, completes, completesEventually, conclude, deadLetters, definition, disperseStowedMessages, equals, future, hashCode, isStopped, logger, parentAs, scheduler, secure, selfAs, stage, stageNamed, start, stateSnapshot, stateSnapshot, stop, stowMessages, toString, viewTestState, viewTestStateInitializationpublic Router(RouterSpecification<P> specification)
protected void initRoutees(RouterSpecification<P> specification)
protected <T1,T2,T3,T4> Routing<P> routingFor(T1 routable1, T2 routable2, T3 routable3, T4 routable4)
protected <T1> void dispatchCommand(BiConsumer<P,T1> action, T1 routable1)
protected <T1,T2> void dispatchCommand(io.vlingo.xoom.common.TriConsumer<P,T1,T2> action, T1 routable1, T2 routable2)
protected <T1,T2,T3> void dispatchCommand(io.vlingo.xoom.common.QuadConsumer<P,T1,T2,T3> action, T1 routable1, T2 routable2, T3 routable3)
protected <T1,T2,T3,T4> void dispatchCommand(io.vlingo.xoom.common.PentaConsumer<P,T1,T2,T3,T4> action, T1 routable1, T2 routable2, T3 routable3, T4 routable4)
protected <T1,R extends io.vlingo.xoom.common.Completes<?>> R dispatchQuery(BiFunction<P,T1,R> query, T1 routable1)
protected <T1,T2,R extends io.vlingo.xoom.common.Completes<?>> R dispatchQuery(io.vlingo.xoom.common.TriFunction<P,T1,T2,R> query, T1 routable1, T2 routable2)
protected <T1,T2,T3,R extends io.vlingo.xoom.common.Completes<?>> R dispatchQuery(io.vlingo.xoom.common.QuadFunction<P,T1,T2,T3,R> query, T1 routable1, T2 routable2, T3 routable3)
protected <T1,T2,T3,T4,R extends io.vlingo.xoom.common.Completes<?>> R dispatchQuery(io.vlingo.xoom.common.PentaFunction<P,T1,T2,T3,T4,R> query, T1 routable1, T2 routable2, T3 routable3, T4 routable4)
Copyright © 2021. All rights reserved.