All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.vality.woody.api.event.ServiceEvent Maven / Gradle / Ivy

There is a newer version: 2.0.8
Show newest version
package dev.vality.woody.api.event;

import dev.vality.woody.api.trace.ContextSpan;
import dev.vality.woody.api.trace.TraceData;

public class ServiceEvent extends Event {
    public ServiceEvent(TraceData traceData) {
        super(traceData);
    }

    @Override
    public ServiceEventType getEventType() {
        return (ServiceEventType) super.getEventType();
    }

    @Override
    public ContextSpan getActiveSpan() {
        return getTraceData().getServiceSpan();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy