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 org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>
decorate(org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> publisher, String channelName)
Decorate a publisher
-
-
-
Method Detail
-
decorate
public org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> decorate(org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> publisher, String channelName)
Description copied from interface:PublisherDecorator
Decorate a publisher- Specified by:
decorate
in interfacePublisherDecorator
- Parameters:
publisher
- the publisher to decoratechannelName
- the name of the channel to which this publisher publishes- Returns:
- the extended publisher
-
-