@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
public @interface Selector
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
reactor
An expression that evaluates to the
Reactor on which to place this handler. |
SelectorType |
type
The type of
Selector to register. |
java.lang.String |
value
An expression that evaluates to a
Selector to register this handler with the Reactor. |
public abstract java.lang.String value
Selector to register this handler with the Reactor.
If empty, consumer will be subscribed on the global reactor selector
Reactor.on(reactor.function.Consumer)public abstract java.lang.String reactor
Reactor on which to place this handler.public abstract SelectorType type
Selector to register.Selector.