@ApplicationScoped public class InternalChannelRegistry extends Object implements ChannelRegistry
Constructor and Description |
---|
InternalChannelRegistry() |
Modifier and Type | Method and Description |
---|---|
Emitter<?> |
getEmitter(String name) |
Set<String> |
getEmitterNames() |
Map<String,Boolean> |
getIncomingChannels() |
Set<String> |
getIncomingNames() |
MutinyEmitter<?> |
getMutinyEmitter(String name) |
Map<String,Boolean> |
getOutgoingChannels() |
Set<String> |
getOutgoingNames() |
List<org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>> |
getPublishers(String name) |
List<org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void>> |
getSubscribers(String name) |
void |
register(String name,
Emitter<?> emitter) |
void |
register(String name,
MutinyEmitter<?> emitter) |
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> |
register(String name,
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> stream,
boolean broadcast) |
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> |
register(String name,
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> subscriber,
boolean merge) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register, register
public org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> register(String name, org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> stream, boolean broadcast)
register
in interface ChannelRegistry
public org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> register(String name, org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> subscriber, boolean merge)
register
in interface ChannelRegistry
public void register(String name, Emitter<?> emitter)
register
in interface ChannelRegistry
public void register(String name, MutinyEmitter<?> emitter)
register
in interface ChannelRegistry
public List<org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>> getPublishers(String name)
getPublishers
in interface ChannelRegistry
public Emitter<?> getEmitter(String name)
getEmitter
in interface ChannelRegistry
public MutinyEmitter<?> getMutinyEmitter(String name)
getMutinyEmitter
in interface ChannelRegistry
public List<org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void>> getSubscribers(String name)
getSubscribers
in interface ChannelRegistry
public Set<String> getIncomingNames()
getIncomingNames
in interface ChannelRegistry
public Set<String> getOutgoingNames()
getOutgoingNames
in interface ChannelRegistry
public Set<String> getEmitterNames()
getEmitterNames
in interface ChannelRegistry
public Map<String,Boolean> getIncomingChannels()
getIncomingChannels
in interface ChannelRegistry
public Map<String,Boolean> getOutgoingChannels()
getOutgoingChannels
in interface ChannelRegistry
Copyright © 2018–2021 SmallRye. All rights reserved.