
io.fluxcapacitor.javaclient.tracking.MappingBatchInterceptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Default Java client library for interfacing with Flux Capacitor.
package io.fluxcapacitor.javaclient.tracking;
import io.fluxcapacitor.common.api.tracking.MessageBatch;
import java.util.function.BiFunction;
import java.util.function.Consumer;
@FunctionalInterface
public interface MappingBatchInterceptor extends BatchInterceptor, BiFunction {
@Override
default java.util.function.Consumer intercept(Consumer consumer, Tracker tracker) {
return batch -> consumer.accept(apply(batch, tracker));
}
@Override
MessageBatch apply(MessageBatch messageBatch, Tracker tracker);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy