Class MetricDecorator
- java.lang.Object
-
- io.smallrye.reactive.messaging.metrics.MetricDecorator
-
- All Implemented Interfaces:
PublisherDecorator
@ApplicationScoped public class MetricDecorator extends Object implements PublisherDecorator
-
-
Constructor Summary
Constructors Constructor Description MetricDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Multi<? extends Message<?>>decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName)Decorate a Multi
-
-
-
Method Detail
-
decorate
public io.smallrye.mutiny.Multi<? extends Message<?>> decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName)
Description copied from interface:PublisherDecoratorDecorate a Multi- Specified by:
decoratein interfacePublisherDecorator- Parameters:
publisher- the multi to decoratechannelName- the name of the channel to which this publisher publishes- Returns:
- the extended multi
-
-